D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU structure (d3dkmthk.h)
D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU is used with D3DKMTWaitForSynchronizationObjectFromCpu to wait for a monitored fence to reach a certain value.
Syntax
typedef struct _D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {
[in] D3DKMT_HANDLE hDevice;
[in] UINT ObjectCount;
void D3DKMT_PTR(
const D3DKMT_HANDLE *unnamedParam1,
ObjectHandleArray unnamedParam2
);
void D3DKMT_PTR(
const UINT64 *unnamedParam1,
FenceValueArray unnamedParam2
);
void D3DKMT_PTR(
HANDLE unnamedParam1,
hAsyncEvent unnamedParam2
);
[in] D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS Flags;
} D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU;
Members
[in] hDevice
The device handle to wait on.
[in] ObjectCount
The number of synchronization objects in the ObjectHandleArray and fence values in the FenceValueArray.
void D3DKMT_PTR( const D3DKMT_HANDLE *unnamedParam1, ObjectHandleArray unnamedParam2)
void D3DKMT_PTR( const UINT64 *unnamedParam1, FenceValueArray unnamedParam2)
void D3DKMT_PTR( HANDLE unnamedParam1, hAsyncEvent unnamedParam2)
[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 | d3dkmthk.h (include D3dkmthk.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for