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