Partager via


IWSDiscoveredService::GetExtendedDiscoXML (Compact 2013)

3/26/2014

This method retrieves custom or extensible data provided in the header or body of the SOAP message.

Syntax

HRESULT GetExtendedDiscoXML(
  WSDXML_ELEMENT** ppHeaderAny,
  WSDXML_ELEMENT** ppBodyAny
);

Parameters

  • ppHeaderAny
    [out] Custom data added to the header portion of the SOAP message. For details, see WSDXML_ELEMENT. Do not deallocate the output structure.
  • ppBodyAny
    [out] Custom data added to the body portion of the SOAP message. For details, see WSDXML_ELEMENT. Do not deallocate the output structure.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This method completed successfully.

Remarks

Some devices may add custom data to the header and body portions of the SOAP message to convey additional information in the discovery phase.

The resulting pointer values are only valid for the lifetime of the IWSDiscoveredService object.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDiscoveredService
Web Services on Devices Interfaces