Share via


IWSDiscoveryPublisher::UnRegisterNotificationSink (Compact 2013)

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

See Also

Reference

IWSDiscoveryPublisher
Web Services on Devices Interfaces