IWSDiscoveryPublisherNotify::ProbeHandler method (wsddisco.h)

Is called when a Probe is received by the discovery publisher.

Syntax

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

Parameters

[in] pSoap

Pointer to a WSD_SOAP_MESSAGE structure that contains the Probe message received by the discovery publisher.

[in] pMessageParameters

Pointer to an IWSDMessageParameters interface that contains transport information associated with the received message.

Return value

The return value 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 MatchProbe or MatchProbeEx with host information to determine whether or not the received Probe matches the host.

The body of the Probe message passed to pSoap can be cast to a WSD_PROBE structure.

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)
DLL Wsdapi.dll

See also

IWSDiscoveryPublisherNotify