+/*
+ * 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 "resources.h"
#include "cliputils.h"
#include "fileutils.h"
-#include "winutils.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
HMENU hMenu;
UINT uDisplayFormat;
UINT uCheckedItem;
- UINT uLinesToScroll;
- HBITMAP hDspBmp;
+
+ /* Metrics of the current font */
+ LONG CharWidth;
+ LONG CharHeight;
} CLIPBOARD_GLOBALS;
extern CLIPBOARD_GLOBALS Globals;