IWSDiscoveryPublisher::UnRegisterNotificationSink method (wsddisco.h)
Detaches a callback notification sink from the discovery publisher.
Syntax
HRESULT UnRegisterNotificationSink(
[in] IWSDiscoveryPublisherNotify *pSink
);
Parameters
[in] pSink
Pointer to the IWSDiscoveryPublisherNotify interface that will stop receiving callback notifications.
Return value
Possible return values include, but are not limited to, the following:
Return code | Description |
---|---|
|
The method completed successfully. |
|
pSink is NULL. |
|
The method failed. |
Remarks
Note UnRegisterNotificationSink must be called at least once for each notification sink previously attached to the discovery publisher.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsddisco.h (include Wsdapi.h) |
DLL | Wsdapi.dll |