Share via


DD_DXAPI_CLOSEHANDLE control code

A video capture driver passes DD_DXAPI_CLOSEHANDLE in the dwFunctionNum parameter of the DxApi function to close the kernel-mode handle to the DirectDraw object, surface, VPE object, or VPE capture object.

Input Parameters

  • lpvInBuffer
    Pointer to the DDCLOSEHANDLE structure that contains the appropriate handle.

Output Parameters

  • lpvOutBuffer
    Pointer to a DWORD that contains the DirectDraw return value.

Remarks

Calling this function identifier does not cause the corresponding close routines to be called.

This function identifier can only be called at PASSIVE_LEVEL.

Requirements

Header file: Ddkmapi.h (include Ddkmapi.h)

See also

DDCLOSEHANDLE