DOC: IConsole2::Expand() Returns "S_OK" Even If the Node Is Already in the Requested State (306307)
The information in this article applies to:
- Microsoft Visual Studio 6.0 SP5
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows 98 Second Edition
- the operating system: Microsoft Windows Millennium Edition
- the operating system: Microsoft Windows NT 4.0
- the operating system: Microsoft Windows XP
- Microsoft Management Console 1.0
- Microsoft Management Console 2.0
This article was previously published under Q306307 SUMMARY
In MSDN, the following condition is listed as causing IConsole2::Expand to return "E_FAIL":
The item specified by hItem is already in the state specified by bExpand.
hItem is the handle to the item to expand; bExpand specifies whether to expand or collapse the item. TRUE expands the item. FALSE collapses the item.
However, IConsole2::Expand returns "S_OK" even if the item is already in the state that is specified by bExpand.
MORE INFORMATION
Microsoft acknowledges that this behavior is a deviation from the documentation. The documentation will be edited to reflect the actual behavior of the function.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbbug kbdocerr kbpending KB306307 |
---|
|