IWSDiscoveryPublisher interface

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

To get this interface, call WSDCreateDiscoveryPublisher.

Members

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

Methods

The IWSDiscoveryPublisher interface has these methods.

MethodDescription
GetXMLContext

Gets the XML context associated with the device.

MatchProbe

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

MatchProbeEx

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

MatchResolve

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

MatchResolveEx

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

Publish

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

PublishEx

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

RegisterNotificationSink

Attaches a callback notification sink to the discovery publisher.

RegisterScopeMatchingRule

Adds support for a custom scope matching rule.

SetAddressFamily

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

UnPublish

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

UnRegisterNotificationSink

Detaches a callback notification sink from the discovery publisher.

UnRegisterScopeMatchingRule

Removes support for a custom scope matching rule.

 

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WsdDisco.h (include Wsdapi.h)

IDL

Wsddisco.idl

DLL

Wsdapi.dll

See also

Overview of the WSDAPI Interfaces

 

 

Community Additions

ADD
Show: