共用方式為


ID3DDestructionNotifier::UnregisterDestructionCallback 方法 (d3dcommon.h)

取消註冊已向 RegisterDestructionCallback註冊的回呼。

語法

HRESULT UnregisterDestructionCallback(
  UINT callbackID
);

參數

callbackID

類型: UINT

由 pCallbackID引數建立的UINTID3DDestructionNotifier::RegisterDestructionCallback

傳回值

類型: HRESULT

如果此函式成功,則會傳回 S_OK

規格需求

   
目標平臺 Windows
標頭 d3dcommon.h

另請參閱

ID3DDestructionNotifier

ID3DDestructionNotifier::RegisterDestructionCallback