Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a child element.
Syntax
HRESULT 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 code | Description |
|---|---|
|
Method completed successfully. |
|
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
| 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 |