WSDXMLGetValueFromAny (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the text value from a specified child element of an XML <any> element.

Syntax

HRESULT STDAPI WSDXMLGetValueFromAny(
  const WCHAR* pszNamespace,
  const WCHAR* pszName,
  WSDXML_ELEMENT* pAny,
  const LPCWSTR** ppszValue
);

Parameters

  • pszNamespace
    [in] The namespace of the element to retrieve.
  • pszName
    [in] The name of the element to retrieve.
  • pAny
    [in] Reference to a WSDXML_ELEMENT structure that contains the <any> element that is the parent of the element to retrieve.
  • ppszValue
    [out] The text value of the element specified by pszNamespace and pszName.

Return Value

The following table shows the possible error code return values.

Error Code Description

S_OK

The function succeeded.

E_INVALIDORG

The length in characters of pszNamespace or pszName exceeds WSD_MAX_TEXT_LENGTH (8192), or pAny is NULL.

E_POINTER

pAny is NULL.

E_FAIL

The function failed.

Requirements

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

See Also

Reference

Web Services on Devices Functions
Web Services on Devices Reference