ID3DDestructionNotifier::UnregisterDestructionCallback method (d3dcommon.h)

Unregisters a callback that was registered with RegisterDestructionCallback.

Syntax

HRESULT UnregisterDestructionCallback(
  UINT callbackID
);

Parameters

callbackID

Type: UINT

The UINT that was created by the pCallbackID argument to ID3DDestructionNotifier::RegisterDestructionCallback.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK.

Requirements

Requirement Value
Target Platform Windows
Header d3dcommon.h

See also

ID3DDestructionNotifier

ID3DDestructionNotifier::RegisterDestructionCallback