WSDXMLAddChild 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

This function can return one of these values.

Return codeDescription
S_OK

Method completed successfully.

E_INVALIDARG

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WsdUtil.h (include Wsdapi.h)

Library

Wsdapi.lib

DLL

Wsdapi.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft