Share via


D3dContextDestroy

This function deletes the specified context.

DWORD (APIENTRY *LPD3DHAL_CONTEXTDESTROYCB)(
  LPD3DHAL_CONTEXTDESTROYDATA pcdd
);

Parameters

  • pcdd
    [in] Points to a D3DHAL_CONTEXTDESTROYDATA structure that contains the information required for the driver to destroy the context.

Return Values

D3dContextDestroy returns one of the following callback codes:

Remarks

The driver should free all resources it allocated to the context being deleted. For example, the driver should free any texture resources it associated with the context. The driver should not free the Microsoft® DirectDraw® surfaces associated with the context because DirectDraw will free these in response to an application or Direct3D run-time request.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Proto.h.
Link Library: Developer implemented.

See Also

D3dContextCreate | D3DHAL_CONTEXTDESTROYDATA | DDHAL_DRIVER_HANDLED | DDHAL_DRIVER_NOTHANDLED | Direct3D Driver Functions

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.