Compartilhar via


Função PsUnregisterAvailableCpusChangeNotification (wdm.h)

A função PsUnregisterAvailableCpusChangeNotification cancela o registro executado anteriormente por PsRegisterProcessAvailableCpusChangeNotification ou PsRegisterSystemAvailableCpusChangeNotification.

Sintaxe

VOID PsUnregisterAvailableCpusChangeNotification(
  [in] PS_AVAILABLE_CPUS_CHANGE_REGISTRATION RegistrationHandle
);

Parâmetros

[in] RegistrationHandle

Identificador retornado por uma chamada para PsRegisterProcessAvailableCpusChangeNotification ou PsRegisterSystemAvailableCpusChangeNotification.

Valor de retorno

Nenhum

Observações

Essa rotina deve ser chamada em PASSIVE_LEVEL.

Depois que essa função retornar, o retorno de chamada associado ao identificador de registro não será mais invocado para alterações de disponibilidade da CPU.

Essa função pode ser usada para cancelar o registro de retornos de chamada registrados para notificações de alteração de disponibilidade de CPU específicas ao processo e em todo o sistema.

Requisitos

Requisito Valor
cabeçalho wdm.h
IRQL PASSIVE_LEVEL

Consulte também

PsRegisterProcessAvailableCpusChangeNotification

PsRegisterSystemAvailableCpusChangeNotification