D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMGPU structure (d3dumddi.h)

D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMGPU is used with pfnWaitForSynchronizationObjectFromGpuCb to wait for a monitored fence to reach a certain value.

Syntax

typedef struct D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
  [in] HANDLE              hContext;
  [in] UINT                ObjectCount;
  [in] const D3DKMT_HANDLE *ObjectHandleArray;
  union {
    [in] const UINT64 *MonitoredFenceValueArray;
    [in] UINT64       FenceValue;
         UINT64       Reserved[8];
  };
} D3DDDICB_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 d3dumddi.h (include D3dumddi.h)

See also

pfnWaitForSynchronizationObjectFromGpuCb