IWSDiscoveryPublisher::UnRegisterNotificationSink (Windows Embedded CE 6.0)
1/6/2010
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 |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |