// d3dhal.h
typedef struct _D3DHAL_CONTEXTDESTROYDATA {
ULONG_PTR dwhContext;
HRESULT ddrval;
} D3DHAL_CONTEXTDESTROYDATA;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DHAL_CONTEXTDESTROYDATA structure contains the information that the D3dContextDestroy function requires to delete a context.
dwhContextSpecifies the handle to the context to be destroyed.
ddrvalSpecifies 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.