WSDXMLAddSibling function (wsdutil.h)

Adds a sibling element.

Syntax

HRESULT WSDXMLAddSibling(
  [in] WSDXML_ELEMENT *pFirst,
  [in] WSDXML_ELEMENT *pSecond
);

Parameters

[in] pFirst

Reference to a WSDXML_ELEMENT structure that contains the first sibling.

[in] pSecond

Reference to a WSDXML_ELEMENT structure that contains the second sibling.

Return value

This function can return one of these values.

Return code Description
S_OK
Method completed successfully.
E_INVALIDARG
pFirst or pSecond is NULL.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdutil.h (include Wsdapi.h)
Library Wsdapi.lib
DLL Wsdapi.dll