home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / jsdk05.cab / Src / Win32Api / JOYCAPS.java < prev    next >
Encoding:
Java Source  |  1997-09-25  |  1.2 KB  |  43 lines

  1. // Copyright (C) 1997 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.
  8.  
  9. package com.ms.win32;
  10.  
  11.  
  12. /** @dll.struct(pack=1, auto) */
  13. public class JOYCAPS {
  14.         public short wMid;
  15.         public short wPid;
  16.         /** @dll.structmap([type=TCHAR[32]]) */
  17.         public String   szPname;
  18.         public int wXmin;
  19.         public int wXmax;
  20.         public int wYmin;
  21.         public int wYmax;
  22.         public int wZmin;
  23.         public int wZmax;
  24.         public int wNumButtons;
  25.         public int wPeriodMin;
  26.         public int wPeriodMax;
  27.         public int wRmin;
  28.         public int wRmax;
  29.         public int wUmin;
  30.         public int wUmax;
  31.         public int wVmin;
  32.         public int wVmax;
  33.         public int wCaps;
  34.         public int wMaxAxes;
  35.         public int wNumAxes;
  36.         public int wMaxButtons;
  37.         /** @dll.structmap([type=TCHAR[32]]) */
  38.         public String   szRegKey;
  39.         /** @dll.structmap([type=TCHAR[260]]) */
  40.         public String   szOEMVxD;
  41. }
  42.  
  43.