Método ID3DDestructionNotifier::UnregisterDestructionCallback (d3dcommon.h)

Cancela o registro de um retorno de chamada que foi registrado com RegisterDestructionCallback.

Sintaxe

HRESULT UnregisterDestructionCallback(
  UINT callbackID
);

Parâmetros

callbackID

Tipo: UINT

O UINT que foi criado pelo argumento pCallbackID para ID3DEstructionNotifier::RegisterDestructionCallback.

Retornar valor

Tipo: HRESULT

Se essa função for bem-sucedida, ela retornará S_OK.

Requisitos

   
Plataforma de Destino Windows
Cabeçalho d3dcommon.h

Confira também

ID3DDestructionNotifier

ID3DDestructionNotifier::RegisterDestructionCallback