// d3dumddi.h
PFND3DDDI_WAITFORSYNCHRONIZATIONOBJECTCB Pfnd3dddiWaitforsynchronizationobjectcb;
HRESULT Pfnd3dddiWaitforsynchronizationobjectcb(
HANDLE hDevice,
const D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnWaitForSynchronizationObjectCb function inserts a wait for the specified synchronization objects in the specified context DMA stream.
hDeviceA handle to a display device (that is, the graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT structure that describes the synchronization objects and context DMA stream that are required to set up the wait.
pfnWaitForSynchronizationObjectCb returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | The wait was successfully set up. |
| E_INVALIDARG | Parameters were validated and determined to be incorrect. |
This function might also return other HRESULT values.
Direct3D Version 11 Note: For more information about how the driver calls pfnWaitForSynchronizationObjectCb, see Changes from Direct3D 10.
For a code example of how to use the pfnWaitForSynchronizationObjectCb function, see pfnSignalSynchronizationObjectCb.
D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT