Compartilhar via


BCryptUnregisterConfigChangeNotify

A função BCryptUnregisterConfigChangeNotify(PRKEVENT) remove um manipulador de eventos de alteração de configuração CNG do modo kernel que foi criado usando a função BCryptRegisterConfigChangeNotify(PRKEVENT ).

Sintaxe

NTSTATUS BCryptUnregisterConfigChangeNotify(
  HANDLE hEvent
);

Parâmetros

hEvent

O ponteiro para o objeto do dispatcher de eventos a ser removido. Esse é o ponteiro obtido usando a função BCryptRegisterConfigChangeNotify(PRKEVENT ).

Valor de retorno

Retorna um código de status que indica o êxito ou a falha da função.

Os códigos de retorno possíveis incluem, mas não se limitam a, o seguinte.

Código de retorno Description
STATUS_SUCCESS
A função foi bem-sucedida.
STATUS_INVALID_PARAMETER
O parâmetro hEvent não é válido.
STATUS_NO_MEMORY
Ocorreu uma falha de alocação de memória.

Observações

BCryptUnregisterConfigChangeNotify(PRKEVENT) pode ser chamado somente no modo kernel e em PASSIVE_LEVEL IRQL. A execução de código no modo de usuário deve chamar BCryptUnregisterConfigChangeNotify(HANDLE).

Requirements

Requirement Value
Cliente mínimo suportado Windows 10 Build 20348
servidor com suporte mínimo Windows 10 Build 20348
Header bcrypt.h
Library bcrypt.lib

Consulte também

BCryptRegisterConfigChangeNotify(PRKEVENT)