blob: 60a6584083fde07fa63f7e1106682d55a0cd5b67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*******************************************************************************
* Copyright (c) 2000, 2012 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.swt.internal.win32;
public class OPENFILENAME {
public int lStructSize;
/** @field cast=(HWND) */
public long /*int*/ hwndOwner;
/** @field cast=(HINSTANCE) */
public long /*int*/ hInstance;
/** @field cast=(LPCTSTR) */
public long /*int*/ lpstrFilter;
/** @field cast=(LPTSTR) */
public long /*int*/ lpstrCustomFilter;
public int nMaxCustFilter;
public int nFilterIndex;
/** @field cast=(LPTSTR) */
public long /*int*/ lpstrFile;
public int nMaxFile;
/** @field cast=(LPTSTR) */
public long /*int*/ lpstrFileTitle;
public int nMaxFileTitle;
/** @field cast=(LPCTSTR) */
public long /*int*/ lpstrInitialDir;
/** @field cast=(LPCTSTR) */
public long /*int*/ lpstrTitle;
public int Flags;
public short nFileOffset;
public short nFileExtension;
/** @field cast=(LPCTSTR) */
public long /*int*/ lpstrDefExt;
public long /*int*/ lCustData;
/** @field cast=(LPOFNHOOKPROC) */
public long /*int*/ lpfnHook;
/** @field cast=(LPCTSTR) */
public long /*int*/ lpTemplateName;
/** @field cast=(void *) */
public long /*int*/ pvReserved;
public int dwReserved;
public int FlagsEx;
public static final int sizeof = OS.OPENFILENAME_sizeof ();
}
|