D3DHAL_CONTEXTDESTROYDATA structure (d3dhal.h)

The D3DHAL_CONTEXTDESTROYDATA structure contains the information that the D3dContextDestroy function requires to delete a context.

Syntax

typedef struct _D3DHAL_CONTEXTDESTROYDATA {
  ULONG_PTR dwhContext;
  HRESULT   ddrval;
} D3DHAL_CONTEXTDESTROYDATA;

Members

dwhContext

Specifies the handle to the context to be destroyed.

ddrval

Specifies the location where the driver writes the return code for D3dContextDestroy. D3D_OK indicates success. For more information, see Return Codes for Direct3D Driver Callbacks.

Requirements

Requirement Value
Header d3dhal.h (include D3dhal.h)

See also

D3dContextDestroy