Bewerken

Delen via


PFND3DDDI_DESTROYSYNCHRONIZATIONOBJECTCB callback function (d3dumddi.h)

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

Syntax

PFND3DDDI_DESTROYSYNCHRONIZATIONOBJECTCB Pfnd3dddiDestroysynchronizationobjectcb;

HRESULT Pfnd3dddiDestroysynchronizationobjectcb(
  HANDLE hDevice,
  const D3DDDICB_DESTROYSYNCHRONIZATIONOBJECT *unnamedParam2
)
{...}

Parameters

hDevice

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

unnamedParam2

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 code Description
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

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDICB_DESTROYSYNCHRONIZATIONOBJECT

pfnCreateSynchronizationObjectCb