home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / jsdk05.cab / Src / Win32Api / DEVMODE.java < prev    next >
Encoding:
Java Source  |  1997-09-25  |  1.7 KB  |  53 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(auto) */
  13. public class DEVMODE {
  14.         /** @dll.structmap([type=TCHAR[32]]) */
  15.         public String   dmDeviceName;
  16.         public short dmSpecVersion;
  17.         public short dmDriverVersion;
  18.         public short dmSize;
  19.         public short dmDriverExtra;
  20.         public int dmFields;
  21.         public short dmOrientation;
  22.         public short dmPaperSize;
  23.         public short dmPaperLength;
  24.         public short dmPaperWidth;
  25.         public short dmScale;
  26.         public short dmCopies;
  27.         public short dmDefaultSource;
  28.         public short dmPrintQuality;
  29.         public short dmColor;
  30.         public short dmDuplex;
  31.         public short dmYResolution;
  32.         public short dmTTOption;
  33.         public short dmCollate;
  34.         /** @dll.structmap([type=TCHAR[32]]) */
  35.         public String   dmFormName;
  36.         public short dmLogPixels;
  37.         public int dmBitsPerPel;
  38.         public int dmPelsWidth;
  39.         public int dmPelsHeight;
  40.         public int dmDisplayFlags;
  41.         public int dmDisplayFrequency;
  42.         public int dmICMMethod;
  43.         public int dmICMIntent;
  44.         public int dmMediaType;
  45.         public int dmDitherType;
  46.         public int dmICCManufacturer;
  47.         public int dmICCModel;
  48.         public int dmPanningWidth;
  49.         public int dmPanningHeight;
  50. }
  51.  
  52.  
  53.