D3DKMT_CREATENATIVEFENCE - NtDoc

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

typedef struct _D3DKMT_CREATENATIVEFENCE {
  D3DKMT_HANDLE                  hDevice;
  D3DKMT_HANDLE                  hSyncObject;
  BYTE                           PrivateDriverData[D3DDDI_NATIVE_FENCE_PDD_SIZE];
  D3DDDI_NATIVEFENCEINFO         Info;
  D3DKMT_CREATENATIVEFENCE_FLAGS Flags;
  BYTE                           Reserved[28];
} D3DKMT_CREATENATIVEFENCE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmthk-d3dkmt_createnativefence)

Description

The D3DKMT_CREATENATIVEFENCE structure is a parameter for the D3DKMTCreateNativeFence function. It describes the fence object to create.

Members

hDevice

[in] A handle to the device that the fence object is created on.

hSyncObject

[out] A handle to the sync object on this process.

PrivateDriverData[D3DDDI_NATIVE_FENCE_PDD_SIZE]

[in/out] Private driver data to pass to KMD's DxgkDdiCreateNativeFence function and copy back to UMD.

Info

[in/out] A D3DDDI_NATIVEFENCEINFO structure that describes the attributes of the synchronization object.

Flags

[in] A D3DKMT_CREATENATIVEFENCE_FLAGS structure that describes the flags for the fence object.

Reserved[28]

Reserved for system use.

Remarks

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

See also

D3DKMTCreateNativeFence

DxgkDdiCreateNativeFence