Microsoft Deployment Toolkit
Documentation Library HRESULT GetChildDataNodes(LPCTSTR childeName, IDataNodes **ppNodes) |
This method provides a quick way to get to the set of DataItem nodes under a specific Data node. Using the XML from the GetDataNodes example, the following code does exactly the same thing as the four lines of code in the example under GetDataNodes but with error checking:
PDataNodes pNodes;
Settings()->GetChildDataNode(L"Network", &pData);
Related Topics