ShellUtilitiesExtractMenu Method (IntPtr, Boolean) |
Extracts a Windows menu information.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static ShellMenuItemList ExtractMenu(
IntPtr menuHandle,
bool includeBitmaps
)
Parameters
- menuHandle
- Type: SystemIntPtr
The menu handle. - includeBitmaps
- Type: SystemBoolean
if set to true, include bitmaps
Return Value
Type:
ShellMenuItemListAn instance of the ShellMenuItemList class.
Exceptions Remarks This method behavior depends on many contextual parameters such as the process bitness (32 or 64 bit), the type of process (Console vs Windows), or the the current thread's COM apartment state (STA vs MTA, etc.).
It also depends on how dynamic context menu handlers choose to add or not menu items.
See Also