BCryptUnregisterConfigChangeNotify(PRKEVENT) function

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

Syntax


NTSTATUS WINAPI BCryptUnregisterConfigChangeNotify(
  _In_  PRKEVENT hEvent
);

Parameters

hEvent [in]

The pointer to the event dispatcher object to remove. This is the pointer that was obtained by using the BCryptRegisterConfigChangeNotify(PRKEVENT) 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(PRKEVENT) can be called only in kernel mode and at PASSIVE_LEVEL IRQL. Code executing in user mode must call BCryptUnregisterConfigChangeNotify(HANDLE).

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(PRKEVENT)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft