Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Cancels a subscription to a notification or solicit/response event.
Syntax
HRESULT UnsubscribeToOperation(
[in] const WSD_OPERATION *pOperation
);
Parameters
[in] pOperation
Reference to a WSD_OPERATION structure that specifies the operation subscribed to.
Return value
Possible return values include, but are not limited to, the following:
| Return code | Description |
|---|---|
|
Method completed successfully. |
|
The proxy is not subscribed to the notification specified by pOperation. |
|
pOperation is NULL. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wsdclient.h (include Wsdapi.h) |
| DLL | Wsdapi.dll |