BCryptUnregisterConfigChangeNotify

La función BCryptUnregisterConfigChangeNotify(PRKEVENT) quita un controlador de eventos de cambio de configuración CNG de modo kernel que se creó mediante la función BCryptRegisterConfigChangeNotify(PRKEVENT).

Syntax

NTSTATUS BCryptUnregisterConfigChangeNotify(
  HANDLE hEvent
);

Parámetros

hEvent

Puntero al objeto de distribuidor de eventos que se va a quitar. Este es el puntero que se obtuvo mediante la función BCryptRegisterConfigChangeNotify(PRKEVENT).

Valor devuelto

Devuelve un código de estado que indica el éxito o error de la función.

Entre los códigos de retorno posibles se incluyen, entre otros, los siguientes.

Código devuelto Description
STATUS_SUCCESS
La función se realizó correctamente.
STATUS_INVALID_PARAMETER
El parámetro hEvent no es válido.
STATUS_NO_MEMORY
Error de asignación de memoria.

Observaciones

Solo se puede llamar a BCryptUnregisterConfigChangeNotify(PRKEVENT) en modo kernel y en PASSIVE_LEVEL IRQL. El código que se ejecuta en modo de usuario debe llamar a BCryptUnregisterConfigChangeNotify(HANDLE).

Requisitos

Requirement Importancia
Cliente mínimo compatible Compilación 20348 de Windows 10
servidor mínimo admitido Compilación 20348 de Windows 10
Header bcrypt.h
Library bcrypt.lib

Consulte también

BCryptRegisterConfigChangeNotify(PRKEVENT)