DXGKDDI_CREATENATIVEFENCE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKDDI_CREATENATIVEFENCE DxgkddiCreatenativefence;

NTSTATUS DxgkddiCreatenativefence(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARG_CREATENATIVEFENCE pCreateNativeFence
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_createnativefence)

Description

The OS calls KMD's DxgkDdiCreateNativeFence to create a tracking object for a native GPU fence.

Parameters

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.

pCreateNativeFence

[in/out] Pointer to a DXGKARG_CREATENATIVEFENCE structure that describes the native GPU fence to create.

Return value

DxgkDdiCreateNativeFence returns STATUS_SUCCESS if KMD was able to successfully create a native GPU fence object. Otherwise, it returns an appropriate NTSTATUS error code.

Remarks

For more information about native GPU fences, see Native GPU fence objects.

See also

DXGKARG_CREATENATIVEFENCE

DxgkDdiDestroyNativeFence

DxgkDdiOpenNativeFence