IWSDiscoveryProvider (Compact 2013)

3/26/2014

This interface is used to discover DPWS devices on the network. To get this interface, you can call WSDCreateDiscoveryProvider.

The IWSDiscoveryProvider interface inherits the methods of the IUnknown interface.

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

Method

Description

IWSDiscoveryProvider::SetAddressFamily

Specifies the IP address family (IPv4, IPv6, or both) to search when discovering WSD devices.

IWSDiscoveryProvider::Attach

Attaches a callback interface to the discovery provider.

IWSDiscoveryProvider::Detach

Detaches a callback interface from the discovery provider.

IWSDiscoveryProvider::SearchById

Initializes a search for WS-Discovery hosts by device identifier.

IWSDiscoveryProvider::SearchByAddress

Initializes a search for WS-Discovery hosts by device address.

IWSDiscoveryProvider::SearchByType

Initializes a search for WS-Discovery hosts by device type.

IWSDiscoveryProvider::GetXMLContext

Gets the XML context associated with this provider.

Remarks

The Discovery Provider represents the "client" view of WS-Discovery.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Interfaces
Web Services on Devices Reference