1 /*******************************************************************************
2 * Copyright (c) 2000, 2012 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 PRINTDLG {
17 public int lStructSize; // DWORD
18 /** @field cast=(HWND) */
19 public long hwndOwner; // HWND
20 /** @field cast=(HGLOBAL) */
21 public long hDevMode; // HGLOBAL
22 /** @field cast=(HGLOBAL) */
23 public long hDevNames; // HGLOBAL
24 /** @field cast=(HDC) */
25 public long hDC; // HDC
26 public int Flags; // DWORD
27 public short nFromPage; // WORD
28 public short nToPage; // WORD
29 public short nMinPage; // WORD
30 public short nMaxPage; // WORD
31 public short nCopies; // WORD
32 /** @field cast=(HINSTANCE) */
33 public long hInstance; // HINSTANCE
34 public long lCustData; // LPARAM
35 /** @field cast=(LPPRINTHOOKPROC) */
36 public long lpfnPrintHook; // LPPRINTHOOKPROC
37 /** @field cast=(LPPRINTHOOKPROC) */
38 public long lpfnSetupHook; // LPSETUPHOOKPROC
39 /** @field cast=(LPCTSTR) */
40 public long lpPrintTemplateName; // LPCTSTR
41 /** @field cast=(LPCTSTR) */
42 public long lpSetupTemplateName; // LPCTSTR
43 /** @field cast=(HGLOBAL) */
44 public long hPrintTemplate; // HGLOBAL
45 /** @field cast=(HGLOBAL) */
46 public long hSetupTemplate; // HGLOBAL
47 public static final int sizeof = OS.PRINTDLG_sizeof ();