PFND3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMGPUCB callback function (d3dumddi.h)
pfnWaitForSynchronizationObjectFromGpuCb waits for a monitored fence to reach a certain value before processing subsequent context commands. For Windows Display Driver Model (WDDM) v2 drivers, existing pfnWaitForSynchronizationObjectCb and pfnWaitForSynchronizationObject2Cb callbacks are deprecated and will eventually be removed. WDDM v2 user mode drivers should switch to pfnWaitForSynchronizationObjectFromGpuCb, as it supports all synchronization object types.
Syntax
PFND3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMGPUCB Pfnd3dddiWaitforsynchronizationobjectfromgpucb;
HRESULT Pfnd3dddiWaitforsynchronizationobjectfromgpucb(
HANDLE hDevice,
const D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMGPU *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device.
unnamedParam2
pData [in]
A pointer to a D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMGPU structure that provides the details of the requested operation.
Return value
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This function semantics are similar to existing pfnWaitForSynchronizationObject2Cb call, except that this callback 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 | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |
See also
D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMGPU
pfnWaitForSynchronizationObject2Cb