WSDXMLAddChild (Windows Embedded CE 6.0)

1/6/2010

This function adds a child element.

Syntax

HRESULT STDAPI WSDXMLAddChild(
  WSDXML_ELEMENT* pParent,
  WSDXML_ELEMENT* pChild
);

Parameters

  • pParent
    Reference to a WSDXML_ELEMENT structure that contains the parent element.
  • pChild
    Reference to a WSDXML_ELEMENT structure that contains the child element.

Return Value

The following table shows the possible error code return values.

Error Code Description

S_OK

The function succeeded.

E_INVALIDORG

pParent is NULL, pChild is NULL, pChild already has a parent, or a sibling could not be added to an existing child of pParent.

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