BCryptUnregisterConfigChangeNotify

The BCryptUnregisterConfigChangeNotify function removes a CNG configuration change event handler that was created by using the BCryptRegisterConfigChangeNotify function.

NTSTATUS WINAPI BCryptUnregisterConfigChangeNotify(
  HANDLE hEvent
);

Parameters

  • hEvent
    [in] The handle of the event to remove. This is the handle that was obtained by using the BCryptRegisterConfigChangeNotify function.

Return Value

Returns a status code that indicates the success or failure of the function.

Possible return codes include, but are not limited to, the following.

Return code Description
STATUS_SUCCESS The function was successful.
STATUS_INVALID_PARAMETER The hEvent parameter is not valid.
STATUS_NO_MEMORY A memory allocation failure occurred.

Requirements

Client Requires Windows Vista.
Server Requires Windows Server "Longhorn".
Header

Declared in Bcrypt.h.

Library

Use Bcrypt.lib.

DLL Requires Bcrypt.dll.

See Also

BCryptRegisterConfigChangeNotify