D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMCPU structure (d3dumddi.h)

D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMCPU is used with pfnWaitForSynchronizationObjectFromCpuCb to wait for a monitored fence to reach a certain value.

Syntax

typedef struct D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {
  [in] UINT                                             ObjectCount;
  [in] const D3DKMT_HANDLE                              *ObjectHandleArray;
  [in] const UINT64                                     *FenceValueArray;
  [in] HANDLE                                           hAsyncEvent;
  [in] D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS Flags;
} D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMCPU;

Members

[in] ObjectCount

The number of synchronization objects in the ObjectHandleArray and fence values in the FenceValueArray.

[in] ObjectHandleArray

An array of kernel-mode handles to the synchronization events to wait for.

[in] FenceValueArray

An array of 64-bit monitored fence values to wait for, each corresponding to an object in the ObjectHandleArray.

[in] hAsyncEvent

When not NULL, specifies the event to be signaled when the wait condition is satisfied. When NULL, the call will not return until the wait condition is satisfied.

[in] Flags

A D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS structure describing the operation.

Value Meaning
WaitAny
FALSE
The wait condition is considered to be satisfied when all input synchronization objects are signaled to the corresponding input fence values or greater.
WaitAny
TRUE
The wait condition is considered to be satisfied when any of the input synchronization objects is signaled to the corresponding input fence value or greater.

Requirements

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

See also

pfnWaitForSynchronizationObjectFromCpuCb