AuthzUnregisterCapChangeNotification function (authz.h)
The AuthzUnregisterCapChangeNotification function removes a previously registered CAP update notification callback.
Syntax
AUTHZAPI BOOL AuthzUnregisterCapChangeNotification(
[in] AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE hCapChangeSubscription
);
Parameters
[in] hCapChangeSubscription
Handle of the CAP change notification subscription to unregister.
Return value
If the function succeeds, it returns TRUE.
If the function fails, it returns FALSE. To get extended error information, call GetLastError.
Remarks
This function blocks operations until all callbacks are complete. Do not call this function from inside a callback function because it will cause a deadlock.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | authz.h |
Library | Authz.lib |
DLL | Authz.dll |