IWSDiscoveryPublisher interface (wsddisco.h)

Provides methods for announcing hosts and managing incoming queries to hosts.

To get this interface, call WSDCreateDiscoveryPublisher.

Inheritance

The IWSDiscoveryPublisher interface inherits from the IUnknown interface. IWSDiscoveryPublisher also has these types of members:

Methods

The IWSDiscoveryPublisher interface has these methods.

 
IWSDiscoveryPublisher::GetXMLContext

Gets the XML context associated with the device.
IWSDiscoveryPublisher::MatchProbe

Determines whether a Probe message matches the specified host and sends a WS-Discovery ProbeMatches message if the match is made.
IWSDiscoveryPublisher::MatchProbeEx

Determines whether a Probe message matches the specified host and sends a WS-Discovery ProbeMatches message with extended information if the match is made.
IWSDiscoveryPublisher::MatchResolve

Determines whether a Resolve message matches the specified host and sends a WS-Discovery ResolveMatches message if the match is made.
IWSDiscoveryPublisher::MatchResolveEx

Determines whether a Resolve message matches the specified host and sends a WS-Discovery ResolveMatches message with extended information if the match is made.
IWSDiscoveryPublisher::Publish

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

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

Attaches a callback notification sink to the discovery publisher.
IWSDiscoveryPublisher::RegisterScopeMatchingRule

Adds support for a custom scope matching rule.
IWSDiscoveryPublisher::SetAddressFamily

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

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

Detaches a callback notification sink from the discovery publisher.
IWSDiscoveryPublisher::UnRegisterScopeMatchingRule

Removes support for a custom scope matching rule.

Remarks

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

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)

See also

Overview of the WSDAPI Interfaces