Bewerken

Delen via


D3DKMTSignalSynchronizationObjectFromGpu2 function (d3dkmthk.h)

D3DKMTSignalSynchronizationObjectFromGpu2 is used to signal a monitored fence.When a particular graphics processing unit (GPU) engine is not capable of writing a new monitored fence value directly using its GPU virtual address, the driver needs to flush its command buffer and issue a signal from GPU packet using D3DKMTSignalSynchronizationObjectFromGpu2. For Windows Display Driver Model (WDDM) v2 drivers, existing D3DKMTSignalSynchronizationObject and D3DKMTSignalSynchronizationObject2 callbacks are deprecated and will eventually be removed.

Syntax

NTSTATUS D3DKMTSignalSynchronizationObjectFromGpu2(
  [in] const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 *unnamedParam1
);

Parameters

[in] unnamedParam1

A D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 structure that provides the details of the requested 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.

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

D3DKMTSignalSynchronizationObject

D3DKMTSignalSynchronizationObject2

D3DKMTSignalSynchronizationObjectFromGpu

D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2