1 /*******************************************************************************
2 * Copyright (c) 2000, 2009 IBM Corporation and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.internal.win32;
16 public class DEVMODE {
17 public char[] dmDeviceName = new char[OS.CCHDEVICENAME];
18 public short dmSpecVersion;
19 public short dmDriverVersion;
21 public short dmDriverExtra;
23 public short dmOrientation;
24 public short dmPaperSize;
25 public short dmPaperLength;
26 public short dmPaperWidth;
28 public short dmCopies;
29 public short dmDefaultSource;
30 public short dmPrintQuality;
32 public short dmDuplex;
33 public short dmYResolution;
34 public short dmTTOption;
35 public short dmCollate;
36 public char[] dmFormName = new char[OS.CCHFORMNAME];
37 public short dmLogPixels;
38 public int dmBitsPerPel;
39 public int dmPelsWidth;
40 public int dmPelsHeight;
42 public int dmDisplayFrequency;
43 public int dmICMMethod;
44 public int dmICMIntent;
45 public int dmMediaType;
46 public int dmDitherType;
47 public int dmReserved1;
48 public int dmReserved2;
49 public int dmPanningWidth;
50 public int dmPanningHeight;
51 public static final int sizeof = OS.DEVMODE_sizeof ();