Share via


IWSDiscoveryProviderNotify::Add (Windows Embedded CE 6.0)

1/6/2010

This method provides information on either a newly announced discovery host (from a Hello message), or a match to a user initiated query.

Syntax

HRESULT Add(
  IWSDiscoveredService* pService
);

Parameters

  • pService
    [in] A pointer to an IWSDiscoveredService interface that represents a remote discovery host.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

The return value of this method is not meaningful. An implementer should return S_OK.

Remarks

Add will be called once for each successful match to an outstanding query, and once per announcement of a new discovery host.

Note

Multiple simultaneous calls may be made to Add by the provider, so it is essential that shared data be synchronized when implementing this callback routine.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDiscoveryProviderNotify
Web Services on Devices Interfaces