Partager via


IWSDiscoveryPublisherNotify::ProbeHandler (Windows Embedded CE 6.0)

1/6/2010

This method is called when a Probe is received by the discovery publisher.

Syntax

HRESULT ProbeHandler(
  const WSD_SOAP_MESSAGE* pSoap,
  IWSDMessageParameters* pMessageParameters
);

Parameters

  • pSoap
    [in] A pointer to a WSD_SOAP_MESSAGE structure that contains the Probe message received by the discovery publisher.
  • pMessageParameters
    [in] A pointer to an IWSDMessageParameters interface that contains transport information associated with the received message.

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

ProbeHandler is called whenever a Probe is received by the discovery publisher. It is the responsibility of the callback interface to then call IWSDiscoveryPublisher::MatchProbe or IWSDiscoveryPublisher::MatchProbeEx with host information to determine whether or not the received Probe matches the host.

Requirements

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

See Also

Reference

IWSDiscoveryPublisherNotify
Web Services on Devices Interfaces