DXGKARG_CREATENATIVEFENCE - NtDoc

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

typedef struct _DXGKARG_CREATENATIVEFENCE {
  HANDLE                          hGlobalNativeFence;
  D3DDDI_NATIVEFENCE_TYPE         Type;
  D3DGPU_VIRTUAL_ADDRESS          CurrentValueSystemProcessGpuVa;
  D3DGPU_VIRTUAL_ADDRESS          MonitoredValueSystemProcessGpuVa;
  BYTE                            pPrivateDriverData[D3DDDI_NATIVE_FENCE_PDD_SIZE];
  DXGKARG_CREATENATIVEFENCE_FLAGS Flags;
  BYTE                            Reserved[32];
} DXGKARG_CREATENATIVEFENCE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-dxgkarg_createnativefence)

Description

DXGKARG_CREATENATIVEFENCE is the structure passed to DxgkDdiCreateNativeFence to describe a native GPU fence.

Members

hGlobalNativeFence

[in/out] On input, the value of hGlobalNativeFence is the Dxgkrnl-generated handle of the object.

On output, the value returned by the KMD is the internal, KMD-maintained handle to be used by subsequent callbacks to refer to this native GPU fence object.

Type

[in] A D3DDDI_NATIVEFENCE_TYPE value that indicates the type of native GPU fence object to create.

CurrentValueSystemProcessGpuVa

[in] Read/write mapping of the current value for the GPU in system process address space. The OS has does this mapping only if KMD has set the DXGK_NATIVE_FENCE_CAPS::MapToGpuSystemProcess cap to TRUE.

MonitoredValueSystemProcessGpuVa

[in] Read/write mapping of the monitored value for the GPU in system process address space. The OS has does this mapping only if KMD has set the DXGK_NATIVE_FENCE_CAPS::MapToGpuSystemProcess cap to TRUE.

pPrivateDriverData[D3DDDI_NATIVE_FENCE_PDD_SIZE]

[in/out] Pointer to the private driver data from the user-mode CreateNativeFence call, copied back to UMD.

Flags

[in] A DXGKARG_CREATENATIVEFENCE_FLAGS structure containing flags to use when creating the native GPU fence object.

Reserved[32]

Reserved for system use.

Remarks

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

See also

DxgkDdiCreateNativeFence