windows-itpro-docs/windows/client-management/mdm/icspnodegetchildnodenames.md
2019-05-30 09:28:07 -03:00

1.5 KiB
Raw Blame History

title, description, ms.assetid, ms.reviewer, manager, ms.author, ms.topic, ms.prod, ms.technology, author, ms.date
title description ms.assetid ms.reviewer manager ms.author ms.topic ms.prod ms.technology author ms.date
ICSPNode GetChildNodeNames ICSPNode GetChildNodeNames dc057f2b-282b-49ac-91c4-bb83bd3ca4dc dansimp v-madhi article w10 windows v-madhi 06/26/2017

ICSPNode::GetChildNodeNames

This method returns the list of child nodes for a configuration service provider node.

Syntax

HRESULT GetChildNodeNames([out] ULONG* pulCount,
                          [out,size_is(,*pulCount)] BSTR** pbstrNodeNames);

Parameters

pulCount

The number of child nodes to return.

pbstrNodeNames

The array of child node names. The returned array must be allocated with `CoTaskMemAlloc`. Each element of the array must be a valid, non-NULL `BSTR`, allocated by `SysAllocString` or `SysAllocStringLen`. The names returned must not be encoded in any way, including URI-encoding, for canonicalization reasons.

Return Value

A value of S_OK indicates that a node was successfully found. CFGMGR_E_COMMANDNOTALLOWED indicates that this was called on a leaf node (no children will be returned).

Remarks

For externallytransactioned nodes, no additional methods are required for successful rollback.

Requirements

Header: None

Create a custom configuration service provider