D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU structure

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

Syntax

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

Members

hContext

[in] 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.

ObjectCount

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

ObjectHandleArray

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

MonitoredFenceValueArray

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

FenceValue

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

Reserved

This member is reserved and should be set to zero.

Requirements

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

See Also

D3DKMTWaitForSynchronizationObjectFromGpu