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.
3/26/2014
This method detaches a callback notification sink from the discovery publisher.
Syntax
HRESULT UnRegisterNotificationSink(
IWSDiscoveryPublisherNotify* pSink
);
Parameters
- pSink
[in] Interface to stop receiving callback notifications.
Return Value
The following table shows the possible error code return values.
Error code |
Description |
|---|---|
S_OK |
This method completed successfully. |
E_INVALIDARG |
pSink is NULL. |
E_FAIL |
The method failed. |
Remarks
UnRegisterNotificationSink must be called at least once for each notification sink previously attached to the discovery publisher.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |