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 29 #include "resources.h" 30 #include "cliputils.h" 31 #include "fileutils.h" 32 #include "scrollutils.h" 33 #include "winutils.h" 34 35 #define MAX_STRING_LEN 255 36 #define DISPLAY_MENU_POS 2 37 38 #define CF_NONE 0 39 40 typedef struct _CLIPBOARD_GLOBALS 41 { 42 HINSTANCE hInstance; 43 HWND hMainWnd; 44 HWND hWndNext; 45 HMENU hMenu; 46 UINT uDisplayFormat; 47 UINT uCheckedItem; 48 49 /* Metrics of the current font */ 50 LONG CharWidth; 51 LONG CharHeight; 52 } CLIPBOARD_GLOBALS; 53 54 extern CLIPBOARD_GLOBALS Globals; 55 56 #endif /* _CLIPBRD_PCH_ */ 57