DXGKARG_OPENNATIVEFENCE - NtDoc

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

typedef struct _DXGKARG_OPENNATIVEFENCE {
  HANDLE                     hGlobalNativeFence;
  HANDLE                     hLocalNativeFence;
  HANDLE                     hDevice;
  D3DGPU_VIRTUAL_ADDRESS     CurrentValueGpuVa;
  D3DGPU_VIRTUAL_ADDRESS     MonitoredValueGpuVa;
  DXGK_OPENNATIVEFENCE_FLAGS Flags;
  BYTE                       pPrivateDriverData[D3DDDI_NATIVE_FENCE_PDD_SIZE];
  BYTE                       Reserved[32];
} DXGKARG_OPENNATIVEFENCE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

DXGKARG_OPENNATIVEFENCE is the structure passed to DxgkDdiOpenNativeFence.

Members

hGlobalNativeFence

[in] Driver-assigned handle to the fence object created in the prior call to DxgkDdiCreateNativeFence.

hLocalNativeFence

[in/out] On input, the value of hLocalNativeFence 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 local fence object.

hDevice

[in] Driver handle for the parent device of this local fence object.

CurrentValueGpuVa

[in] Read/write mapping of the current value for the GPU in user process address space.

MonitoredValueGpuVa

[in] Read/write mapping of the monitored value for the GPU in user process address space.

Flags

[in] A DXGK_OPENNATIVEFENCE_FLAGS structure containing flags that indicate how to open the local GPU fence object.

Reserved[32]

Reserved for system use.

Remarks

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

See also

DxgkDdiOpenNativeFence