Store a "removable" flag instead of the full drive type in the server
[wine/multimedia.git] / dlls / commdlg / fontdlg.h
blob2f2ef6e6fd07715426a8ea0b9aece67c5b345d10
1 /*
2 * COMMDLG - Font Dialog
4 * Copyright 1994 Martin Ayotte
5 * Copyright 1996 Albrecht Kleine
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 * DO NOT EXPORT TO APPLICATIONS -
22 * This file only defines the internal functions that are shared to
23 * implement the Win16 and Win32 font dialog support.
27 #ifndef _WINE_FONTDLG_H
28 #define _WINE_FONTDLG_H
30 #include <stdarg.h>
32 #include "windef.h"
33 #include "winbase.h"
34 #include "wingdi.h"
35 #include "winuser.h"
36 #include "commdlg.h"
38 typedef struct
40 HWND hWnd1;
41 HWND hWnd2;
42 LPCHOOSEFONTA lpcf32a;
43 int added;
44 } CFn_ENUMSTRUCT, *LPCFn_ENUMSTRUCT;
46 INT AddFontFamily(const LOGFONTA *lplf, UINT nFontType, LPCHOOSEFONTA lpcf,
47 HWND hwnd, LPCFn_ENUMSTRUCT e);
48 INT AddFontStyle(const LOGFONTA *lplf, UINT nFontType, LPCHOOSEFONTA lpcf,
49 HWND hcmb2, HWND hcmb3, HWND hDlg);
50 void _dump_cf_flags(DWORD cflags);
52 LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
53 LPCHOOSEFONTA lpcf);
54 LRESULT CFn_WMMeasureItem(HWND hDlg, WPARAM wParam, LPARAM lParam);
55 LRESULT CFn_WMDrawItem(HWND hDlg, WPARAM wParam, LPARAM lParam);
56 LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam,
57 LPCHOOSEFONTA lpcf);
58 LRESULT CFn_WMDestroy(HWND hwnd, WPARAM wParam, LPARAM lParam);
60 #endif /* _WINE_FONTDLG_H */