IConsoleNameSpace::GetNextItem method (mmc.h)
The IConsoleNameSpace2::GetNextItem method enables the snap-in to retrieve the handle to the next item in the scope view.
Syntax
HRESULT GetNextItem(
[in] HSCOPEITEM item,
[out] HSCOPEITEM *pItemNext,
[out] MMC_COOKIE *pCookie
);
Parameters
[in] item
A handle to an item in the scope pane.
[out] pItemNext
A pointer to the handle to the next item in the scope pane that has been returned.
[out] pCookie
A pointer to the cookie of the next item that has been returned.
Return value
This method can return one of these values.
Remarks
If there is no item next to the given item, 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 |