home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 14 / IOPROG_14.ISO / soft / sdkjava / sdkjava.exe / SDKJava.cab / Src / Win32Api / BITMAPINFO.java < prev    next >
Encoding:
Java Source  |  1998-03-05  |  1.2 KB  |  33 lines

  1. // Copyright (C) 1998 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() */
  13. public class BITMAPINFO {
  14.     // bmiHeader was a by-value BITMAPINFOHEADER structure
  15.     public int      bmiHeader_biSize = 40;  // com.ms.dll.DllLib.sizeOf( BITMAPINFOHEADER.class );
  16.     public int      bmiHeader_biWidth;
  17.     public int      bmiHeader_biHeight;
  18.     public short    bmiHeader_biPlanes;
  19.     public short    bmiHeader_biBitCount;
  20.     public int      bmiHeader_biCompression;
  21.     public int      bmiHeader_biSizeImage;
  22.     public int      bmiHeader_biXPelsPerMeter;
  23.     public int      bmiHeader_biYPelsPerMeter;
  24.     public int      bmiHeader_biClrUsed;
  25.     public int      bmiHeader_biClrImportant;
  26.  
  27.     // bmiColors was an embedded array of RGBQUAD structures
  28.     public byte     bmiColors_rgbBlue;
  29.     public byte     bmiColors_rgbGreen;
  30.     public byte     bmiColors_rgbRed;
  31.     public byte     bmiColors_rgbReserved;
  32. }
  33.