IConsoleNameSpace::GetChildItem method (mmc.h)
The IConsoleNameSpace2::GetChildItem method enables the snap-in to get the handle to a child item in the scope pane.
Syntax
HRESULT GetChildItem(
[in] HSCOPEITEM item,
[out] HSCOPEITEM *pItemChild,
[out] MMC_COOKIE *pCookie
);
Parameters
[in] item
A handle to a parent item in the scope pane.
[out] pItemChild
A pointer to the handle that identifies the child item in the scope pane that has been returned.
[out] pCookie
A pointer to the cookie associated with the child item that has been returned.
Return value
This method can return one of these values.
Remarks
If the handle to the child item is not obtained, NULL is returned.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |
DLL | Mmcndmgr.dll |