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