次の方法で共有


IWSDiscoveryPublisher (Compact 2013)

3/26/2014

This interface provides methods for announcing hosts and managing incoming queries to hosts. To get this interface, you can call WSDCreateDiscoveryPublisher.

The IWSDiscoveryPublisher interface inherits the methods of the IUnknown interface.

In addition, the following table lists the methods supported by the IWSDiscoveryPublisher interface in vtable order.

Method

Description

IWSDiscoveryPublisher::SetAddressFamily

Specifies the IP address family (IPv4, IPv6, or both) over which the host will be published.

IWSDiscoveryPublisher::RegisterNotificationSink

Attaches a callback notification sink to the discovery publisher.

IWSDiscoveryPublisher::UnRegisterNotificationSink

Detaches a callback notification sink from the discovery publisher.

IWSDiscoveryPublisher::Publish

Announces the presence of a network host by sending a Hello message.

IWSDiscoveryPublisher::UnPublish

Announces the departure of a network host by sending a Bye message.

IWSDiscoveryPublisher::MatchProbe

Determines if a Probe message matches the specified host and sends a ProbeMatch if the match is made.

IWSDiscoveryPublisher::MatchResolve

Determines if a Resolve message matches the specified host and sends a ResolveMatch if the match is made.

IWSDiscoveryPublisher::PublishEx

Announces the presence of a network host by sending a Hello message with extended information.

IWSDiscoveryPublisher::MatchProbeEx

Determines if a Probe message matches the specified host and sends a ProbeMatch with extended information if the match is made.

IWSDiscoveryPublisher::MatchResolveEx

Determines if a Resolve message matches the specified host and sends a ResolveMatch with extended information if the match is made.

IWSDiscoveryPublisher::RegisterScopeMatchingRule

Adds support for a custom scope matching rule.

IWSDiscoveryPublisher::UnRegisterScopeMatchingRule

Removes support for a custom scope matching rule.

IWSDiscoveryPublisher::GetXMLContext

Gets the XML context associated with the device.

Remarks

This interface represents the "server" or "host" side of WS-Discovery.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Interfaces
Web Services on Devices Reference