// d3dkmddi.h
DXGKDDI_CLOSENATIVEFENCE DxgkddiClosenativefence;
NTSTATUS DxgkddiClosenativefence(
IN_CONST_HANDLE hAdapter,
INOUT_PDXGKARG_CLOSENATIVEFENCE pCloseNativeFence
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
DxgkDdiCloseNativeFence is called by the OS to close a native GPU fence object.
hAdapter[in] A handle to a context block associated with a display adapter. The display miniport driver previously provided this handle to Dxgkrnl in the MiniportDeviceContext output parameter of the DXGKDDI_ADD_DEVICE function.
pCloseNativeFence[in/out] Pointer to a DXGKARG_CLOSENATIVEFENCE structure that describes the native GPU fence to open.
DxgkDdiCloseNativeFence returns STATUS_SUCCESS if KMD was able to successfully open a native GPU fence object. Otherwise, it returns an appropriate NTSTATUS error code.
For more information about native GPU fences, see Native GPU fence objects.