pfnWaitForSynchronizationObjectCb routine

The pfnWaitForSynchronizationObjectCb function inserts a wait for the specified synchronization objects in the specified context DMA stream.

Syntax


PFND3DDDI_WAITFORSYNCHRONIZATIONOBJECTCB pfnWaitForSynchronizationObjectCb;

__checkReturn HRESULT APIENTRY CALLBACK pfnWaitForSynchronizationObjectCb(
  _In_  HANDLE hDevice,
  _In_  const D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT *pData
)
{ ... }

Parameters

hDevice [in]

A handle to a display device (that is, the graphics context).

pData [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.

Return value

pfnWaitForSynchronizationObjectCb returns one of the following values:

Return codeDescription
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.

Remarks

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.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDICB_WAITFORSYNCHRONIZATIONOBJECT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft