home *** CD-ROM | disk | FTP | other *** search
/ Enter 1999 November / ENTER11_1.bin / WARSZTAT / SDKJava32.exe / data1.cab / fg_Win32Src / Src / Win32Api / MENUITEMINFO_T.java < prev    next >
Encoding:
Java Source  |  1999-03-17  |  960 b   |  33 lines

  1. // (C) Copyright 1995 - 1999 Microsoft Corporation.  All rights reserved.
  2.  
  3. // These classes provide direct, low-overhead access to commonly used
  4. // Windows api. These classes use the new J/Direct feature.
  5. //
  6. // Information on how to use J/Direct to write your own declarations
  7. // can be found in the Microsoft SDK for Java 2.0 or later.
  8.  
  9. package com.ms.win32;
  10.  
  11.  
  12. /**
  13.  * MENUITEMINFO_T is useful only for inserting and setting menu item
  14.  * information via Win32 methods InsertMenuItem and SetMenuItemInfo.
  15.  */
  16.  
  17. /** @dll.struct(auto) */
  18. public class MENUITEMINFO_T
  19. {
  20.     public int      cbSize = 44; //com.ms.dll.DllLib.sizeOf(this);
  21.     public int      fMask;
  22.     public int      fType;
  23.     public int      fState;
  24.     public int      wID;
  25.     public int      hSubMenu;
  26.     public int      hbmpChecked;
  27.     public int      hbmpUnchecked;
  28.     public int      dwItemData;
  29.     public String   dwTypeData;
  30.     public int      cch;
  31. }
  32.  
  33.