BCryptUnregisterConfigChangeNotify(HANDLE) function

The BCryptUnregisterConfigChangeNotify(HANDLE) function removes a user mode CNG configuration change event handler that was created by using the BCryptRegisterConfigChangeNotify(HANDLE*) function.

Syntax


NTSTATUS WINAPI BCryptUnregisterConfigChangeNotify(
  _In_  HANDLE hEvent
);

Parameters

hEvent [in]

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 codeDescription
STATUS_SUCCESS

The function was successful.

STATUS_INVALID_PARAMETER

The hEvent parameter is not valid.

STATUS_NO_MEMORY

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Bcrypt.h

Library

Bcrypt.lib

DLL

Bcrypt.dll

See also

BCryptRegisterConfigChangeNotify(HANDLE*)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft