ID3DDestructionNotifier::UnregisterDestructionCallback 方法 (d3dcommon.h)

注销已注册到 RegisterDestructionCallback 的回调。

语法

HRESULT UnregisterDestructionCallback(
  UINT callbackID
);

参数

callbackID

类型: UINT

pCallbackID 参数创建的 ID3DDestructionNotifier::RegisterDestructionCallbackUINT

返回值

类型: HRESULT

如果此函数成功,则返回 S_OK

要求

   
目标平台 Windows
标头 d3dcommon.h

另请参阅

ID3DDestructionNotifier

ID3DDestructionNotifier::RegisterDestructionCallback