Share via


IWSDiscoveryPublisherNotify::ResolveHandler (Compact 2013)

3/26/2014

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

Syntax

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

Parameters

  • pSoap
    [in] A pointer to a WSD_SOAP_MESSAGE structure that contains the Resolve 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

ResolveHandler is called whenever a Resolve is received by the discovery publisher. It is the responsibility of the callback interface to then call IWSDiscoveryPublisher::MatchResolve or IWSDiscoveryPublisher::MatchResolveEx with host information to determine whether or not the received Resolve matches the host.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDiscoveryPublisherNotify
Web Services on Devices Interfaces