CancelNotification function
The CancelNotification function cancels a previously registered notification.
Syntax
NTSTATUS CancelNotification( _In_ HANDLE NotifyHandle );
Parameters
- NotifyHandle [in]
-
Handle returned by a previous call to RegisterNotification.
Return value
If the function succeeds, the return value is STATUS_SUCCESS.
If the function fails, the return value is an NTSTATUS code indicating the reason it failed. The following table lists a common reason for failure and the error code that the function returns.
| Return code | Description |
|---|---|
|
The handle specified by the NotifyHandle parameter is not valid. |
Remarks
Use the RegisterNotification function to register a notification.
A pointer to the CancelNotification function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
See also