wer: Add new stubbed wer.dll.
[wine/hramrach.git] / dlls / printui / printui_private.h
blob56143b77874850e0a5430eaf80985da42e547396
1 /*
2 * Implementation of the Printer User Interface Dialogs: private Header
4 * Copyright 2007 Detlef Riekenberg
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_PRINTUI_PRIVATE__
22 #define __WINE_PRINTUI_PRIVATE__
24 /* Index for Options with an argument */
25 /* Must be in order with optionsW */
26 typedef enum _OPT_INDEX {
27 OPT_A = 0,
28 OPT_B,
29 OPT_C,
30 OPT_F,
31 OPT_H,
32 OPT_J,
33 OPT_L,
34 OPT_M,
35 OPT_N,
36 OPT_R,
37 OPT_T,
38 OPT_V,
39 OPT_MAX
40 } OPT_INDEX;
42 /* Index for Flags without an argument */
43 /* Must be in order with flagsW */
44 typedef enum _FLAG_INDEX {
45 FLAG_Q = 0,
46 FLAG_W,
47 FLAG_Y,
48 FLAG_Z,
49 FLAG_ZZ,
50 FLAG_MAX
51 } FLAG_INDEX;
54 typedef struct tag_context {
55 HWND hWnd;
56 DWORD nCmdShow;
57 LPWSTR * argv;
58 LPWSTR pNextCharW;
59 int argc;
60 int next_arg;
61 WCHAR command;
62 WCHAR subcommand;
63 LPWSTR options[OPT_MAX];
64 BOOL flags[FLAG_MAX];
65 } context_t;
68 /* ## DLL-wide Globals ## */
69 extern HINSTANCE PRINTUI_hInstance;
72 #endif