]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/internal/win32/DEVMODE.java
33b4de411141009f9bdd5332a4165ea9953271ad
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / internal / win32 / DEVMODE.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2009 IBM Corporation and others.
3  *
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/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.internal.win32;
15
16 public class DEVMODE {
17         public char[] dmDeviceName = new char[OS.CCHDEVICENAME];
18         public short dmSpecVersion;
19         public short dmDriverVersion;
20         public short dmSize;
21         public short dmDriverExtra;
22         public int dmFields;
23         public short dmOrientation;
24         public short dmPaperSize;
25         public short dmPaperLength;
26         public short dmPaperWidth;
27         public short dmScale;
28         public short dmCopies;
29         public short dmDefaultSource;
30         public short dmPrintQuality;
31         public short dmColor;
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;
41         public int dmNup;
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 ();
52 }