PFND3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPUCB callback function (d3dumddi.h)
The pfnWaitForSynchronizationObjectFromCpuCb callback waits for a monitored fence to reach a certain value before processing subsequent context commands.
Syntax
PFND3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPUCB Pfnd3dddiWaitforsynchronizationobjectfromcpucb;
HRESULT Pfnd3dddiWaitforsynchronizationobjectfromcpucb(
HANDLE hDevice,
const D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMCPU *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device.
unnamedParam2
Pointer to a D3DDDICB_WAITFORSYNCHRONIZATIONOBJECTFROMCPU 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |