KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > internal > win32 > OPENFILENAME


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.swt.internal.win32;
12
13 public class OPENFILENAME {
14     public int lStructSize;
15     public int /*long*/ hwndOwner;
16     public int /*long*/ hInstance;
17     public int /*long*/ lpstrFilter;
18     public int /*long*/ lpstrCustomFilter;
19     public int nMaxCustFilter;
20     public int nFilterIndex;
21     public int /*long*/ lpstrFile;
22     public int nMaxFile;
23     public int /*long*/ lpstrFileTitle;
24     public int nMaxFileTitle;
25     public int /*long*/ lpstrInitialDir;
26     public int /*long*/ lpstrTitle;
27     public int Flags;
28     public short nFileOffset;
29     public short nFileExtension;
30     public int /*long*/ lpstrDefExt;
31     public int /*long*/ lCustData;
32     public int /*long*/ lpfnHook;
33     public int /*long*/ lpTemplateName;
34     public int /*long*/ pvReserved;
35     public int dwReserved;
36     public int FlagsEx;
37     public static final int sizeof = !OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 0) ? OS.OPENFILENAME_sizeof () : 76;
38 }
39
Popular Tags