home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / jsdk05.cab / Src / Win32Api / PIXELFORMATDESCRIPTOR.java < prev    next >
Encoding:
Java Source  |  1997-09-25  |  1.3 KB  |  41 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. /** @dll.struct() */
  12. public class PIXELFORMATDESCRIPTOR {
  13.         public short nSize = (short)40; //com.ms.dll.DllLib.sizeOf(this);
  14.         public short nVersion;
  15.         public int dwFlags;
  16.         public byte iPixelType;
  17.         public byte cColorBits;
  18.         public byte cRedBits;
  19.         public byte cRedShift;
  20.         public byte cGreenBits;
  21.         public byte cGreenShift;
  22.         public byte cBlueBits;
  23.         public byte cBlueShift;
  24.         public byte cAlphaBits;
  25.         public byte cAlphaShift;
  26.         public byte cAccumBits;
  27.         public byte cAccumRedBits;
  28.         public byte cAccumGreenBits;
  29.         public byte cAccumBlueBits;
  30.         public byte cAccumAlphaBits;
  31.         public byte cDepthBits;
  32.         public byte cStencilBits;
  33.         public byte cAuxBuffers;
  34.         public byte iLayerType;
  35.         public byte bReserved;
  36.         public int dwLayerMask;
  37.         public int dwVisibleMask;
  38.         public int dwDamageMask;
  39. }
  40.  
  41.