D3DKMTWaitForSynchronizationObjectFromGpu function (d3dkmthk.h)

D3DKMTWaitForSynchronizationObjectFromGpu waits for a monitored fence to reach a certain value before processing subsequent context commands.

Note

For Windows Display Driver Model (WDDM) v2 drivers, existing D3DKMTWaitForSynchronizationObject and D3DKMTWaitForSynchronizationObject2 callbacks are deprecated and will eventually be removed.

Syntax

NTSTATUS D3DKMTWaitForSynchronizationObjectFromGpu(
  [in] const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU *unnamedParam1
);

Parameters

[in] unnamedParam1

A pointer to a D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU structure that describes the operation.

Return value

Returns one of the following values:

Return code Description
STATUS_SUCCESS The operation was performed successfully.
STATUS_INVALID_PARAMETER Parameters were validated and determined to be incorrect.

This function might also return other NTSTATUS values.

Remarks

This function semantics are similar to existing D3DKMTWaitForSynchronizationObject2 call, except that this function also supports monitored fence objects and an array of monitored fence values to wait for.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Universal
Header d3dkmthk.h (include D3dkmthk.h)
Library Gdi32.lib
DLL Gdi32.dll

See also

D3DKMTWaitForSynchronizationObject

D3DKMTWaitForSynchronizationObject2

D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU