xref: /reactos/base/applications/clipbrd/precomp.h (revision 8a978a17)
1 /*
2  * PROJECT:     ReactOS Clipboard Viewer
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     Precompiled header.
5  * COPYRIGHT:   Copyright 2015-2018 Ricardo Hanke
6  */
7 
8 #ifndef _CLIPBRD_PCH_
9 #define _CLIPBRD_PCH_
10 
11 // #pragma once
12 
13 #undef _WIN32_WINNT
14 #define _WIN32_WINNT    0x600
15 
16 #include <limits.h>
17 
18 #include <assert.h>
19 
20 #include <windef.h>
21 #include <winbase.h>
22 #include <winuser.h>
23 #include <wingdi.h>
24 #include <shellapi.h>
25 #include <htmlhelp.h>
26 #include <commdlg.h>
27 #include <winnls.h>
28 #include <stdlib.h>
29 
30 #include "resources.h"
31 #include "cliputils.h"
32 #include "fileutils.h"
33 #include "scrollutils.h"
34 #include "winutils.h"
35 
36 #define MAX_STRING_LEN 255
37 #define DISPLAY_MENU_POS 2
38 
39 #define CF_NONE 0
40 
41 typedef struct _CLIPBOARD_GLOBALS
42 {
43     HINSTANCE hInstance;
44     HWND hMainWnd;
45     HWND hWndNext;
46     HMENU hMenu;
47     UINT uDisplayFormat;
48     UINT uCheckedItem;
49 
50     /* Metrics of the current font */
51     LONG CharWidth;
52     LONG CharHeight;
53 } CLIPBOARD_GLOBALS;
54 
55 extern CLIPBOARD_GLOBALS Globals;
56 
57 #endif /* _CLIPBRD_PCH_ */
58