UnsubscribeServiceChangeNotifications function
Unsubscribes from service status change notifications. This function uses subscriptions returned by SubscribeServiceChangeNotifications.
Syntax
VOID WINAPI UnsubscribeServiceChangeNotifications(
_In_ PSC_NOTIFICATION_REGISTRATION pSubscription
);
Parameters
-
pSubscription [in]
-
A pointer to the subscription to be unsubscribed.
Return value
This function does not return a value.
Remarks
UnsubscribeServiceChangeNotifications does not return until outstanding in-process callbacks are complete. So, you cannot call UnsubscribeServiceChangeNotifications within the callback without causing a deadlock.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Header |
|
DLL |
|