BCryptUnregisterConfigChangeNotify function (bcrypt.h)
The BCryptUnregisterConfigChangeNotify(HANDLE) function removes a user mode CNG configuration change event handler that was created by using the BCryptRegisterConfigChangeNotify(HANDLE*) function.
Syntax
NTSTATUS BCryptUnregisterConfigChangeNotify(
[in] PRKEVENT pEvent
);
Parameters
[in] pEvent
The handle of the event to remove. This is the handle that was obtained by using the BCryptRegisterConfigChangeNotify(HANDLE*) 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 |
---|---|
|
The function was successful. |
|
The hEvent parameter is not valid. |
|
A memory allocation failure occurred. |
Remarks
BCryptUnregisterConfigChangeNotify(HANDLE) can be called only in user mode. Code executing in kernel mode must call BCryptUnregisterConfigChangeNotify(PRKEVENT).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | bcrypt.h |
Library | Bcrypt.lib |
DLL | Bcrypt.dll |