D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU structure (d3dkmthk.h)

D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU is used with D3DKMTWaitForSynchronizationObjectFromGpu to wait for a monitored fence to reach a certain value.

Syntax

typedef struct _D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
  [in] D3DKMT_HANDLE       hContext;
  [in] UINT                ObjectCount;
  [in] const D3DKMT_HANDLE *ObjectHandleArray;
  union {
    [in] const UINT64          *MonitoredFenceValueArray;
    [in] D3DKMT_ALIGN64 UINT64 FenceValue;
         D3DKMT_ALIGN64 UINT64 Reserved[8];
  };
} D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU;

Members

[in] hContext

A kernel-mode handle to the context stream in which a wait for the synchronization events in the array that the ObjectHandleArray member specifies is inserted.

[in] ObjectCount

The number of synchronization events in the ObjectHandleArray array and fence values in MonitoredFenceValueArray arrays.

[in] ObjectHandleArray

An array of kernel-mode handles to the synchronization events that the context that is specified by the hContext member waits for.

[in] MonitoredFenceValueArray

An array of 64-bit monitored fence values to wait for, each value corresponding to a synchronization object in ObjectHandleArray.

[in] FenceValue

Fence value to wait for when the input object is of type D3DDDI_FENCE.

Reserved[8]

This member is reserved and should be set to zero.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTWaitForSynchronizationObjectFromGpu