DXGKARG_OPENNATIVEFENCE structure (d3dkmddi.h)

DXGKARG_OPENNATIVEFENCE is the structure passed to DxgkDdiOpenNativeFence.

Syntax

typedef struct _DXGKARG_OPENNATIVEFENCE {
  HANDLE                     hGlobalNativeFence;
  HANDLE                     hLocalNativeFence;
  HANDLE                     hDevice;
  D3DGPU_VIRTUAL_ADDRESS     CurrentValueGpuVa;
  D3DGPU_VIRTUAL_ADDRESS     MonitoredValueGpuVa;
  DXGK_OPENNATIVEFENCE_FLAGS Flags;
  BYTE                       Reserved[32];
} DXGKARG_OPENNATIVEFENCE;

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.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header d3dkmddi.h

See also

DxgkDdiOpenNativeFence