pfnDestroySynchronizationObjectCb routine

The pfnDestroySynchronizationObjectCb function destroys the synchronization object that was created through a call to the pfnCreateSynchronizationObjectCb function.

Syntax


PFND3DDDI_DESTROYSYNCHRONIZATIONOBJECTCB pfnDestroySynchronizationObjectCb;

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

Parameters

hDevice [in]

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

pData [in]

A pointer to a D3DDDICB_DESTROYSYNCHRONIZATIONOBJECT structure that contains a handle to the synchronization object to destroy.

Return value

pfnDestroySynchronizationObjectCb returns one of the following values:

Return codeDescription
S_OK

The synchronization object was successfully destroyed.

E_INVALIDARG

Parameters were validated and determined to be incorrect.

 

This function might also return other HRESULT values.

Requirements

Version

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

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDICB_DESTROYSYNCHRONIZATIONOBJECT
pfnCreateSynchronizationObjectCb

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft