Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

MENUITEMINFO (Structures)
 
.
Summary
The MENUITEMINFO structure contains information about a menu item.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct MENUITEMINFO {
   public uint cbSize;
   public uint fMask;
   public uint fType;
   public uint fState;
   public uint wID;
   public IntPtr hSubMenu;
   public IntPtr hbmpChecked;
   public IntPtr hbmpUnchecked;
   public string dwTypeData;
   public IntPtr dwItemData;
   public uint cch;
   public IntPtr hbmpItem;
}

VB Definition:

   <StructLayout(LayoutKind.Sequential)>
   Public Structure MENUITEMINFO
      Public cbSize As Integer
      Public fMask As Integer
      Public fType As Integer
      Public fState As Integer
      Public wID As Integer
      Public hSubMenu As IntPtr
      Public hbmpChecked As IntPtr
      Public hbmpUnchecked As IntPtr
      Public dwItemData As IntPtr
      Public dwTypeData As String
      Public cch As Integer
      Public hbmpItem As IntPtr
   End Structure

User-Defined Field Types:

None.

Notes:

Untested.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions