Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IConsoleNameSpace::GetChildItem method

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] long       *plCookie
);

Parameters

item [in]

A handle to a parent item in the scope pane.

pItemChild [out]

A pointer to the handle that identifies the child item in the scope pane that has been returned.

plCookie [out]

A pointer to the cookie associated with the child item that has been returned.

Return value

This method can return one of these values.

S_OK

The child item was successfully retrieved.

E_UNEXPECTED

An unexpected error occurred.

Remarks

If the handle to the child item is not obtained, NULL is returned.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

See also

IConsoleNameSpace2

 

 

Show: