2018-05-13 20:15:41 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Clipboard Viewer
|
|
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
|
|
* PURPOSE: Precompiled header.
|
|
|
|
* COPYRIGHT: Copyright 2015-2018 Ricardo Hanke
|
|
|
|
*/
|
|
|
|
|
2015-11-01 16:25:19 +00:00
|
|
|
#ifndef _CLIPBRD_PCH_
|
|
|
|
#define _CLIPBRD_PCH_
|
|
|
|
|
2015-11-01 16:40:18 +00:00
|
|
|
// #pragma once
|
2015-11-01 16:25:19 +00:00
|
|
|
|
2018-05-13 20:15:41 +00:00
|
|
|
#undef _WIN32_WINNT
|
|
|
|
#define _WIN32_WINNT 0x600
|
|
|
|
|
2015-12-14 22:55:55 +00:00
|
|
|
#include <limits.h>
|
|
|
|
|
2016-02-13 16:08:09 +00:00
|
|
|
#include <assert.h>
|
|
|
|
|
2015-11-01 16:25:19 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
#include <winuser.h>
|
|
|
|
#include <wingdi.h>
|
|
|
|
#include <shellapi.h>
|
|
|
|
#include <htmlhelp.h>
|
2015-11-14 16:45:41 +00:00
|
|
|
#include <commdlg.h>
|
2018-01-24 15:00:43 +00:00
|
|
|
#include <winnls.h>
|
2018-08-18 16:36:47 +00:00
|
|
|
#include <stdlib.h>
|
2015-11-01 16:25:19 +00:00
|
|
|
|
|
|
|
#include "resources.h"
|
|
|
|
#include "cliputils.h"
|
2015-11-14 16:45:41 +00:00
|
|
|
#include "fileutils.h"
|
2015-12-12 21:15:53 +00:00
|
|
|
#include "scrollutils.h"
|
2018-05-13 20:15:41 +00:00
|
|
|
#include "winutils.h"
|
2015-11-01 16:25:19 +00:00
|
|
|
|
|
|
|
#define MAX_STRING_LEN 255
|
|
|
|
#define DISPLAY_MENU_POS 2
|
2018-05-13 20:15:41 +00:00
|
|
|
|
2015-11-01 16:25:19 +00:00
|
|
|
#define CF_NONE 0
|
|
|
|
|
|
|
|
typedef struct _CLIPBOARD_GLOBALS
|
|
|
|
{
|
|
|
|
HINSTANCE hInstance;
|
|
|
|
HWND hMainWnd;
|
|
|
|
HWND hWndNext;
|
|
|
|
HMENU hMenu;
|
|
|
|
UINT uDisplayFormat;
|
|
|
|
UINT uCheckedItem;
|
2018-05-13 20:15:41 +00:00
|
|
|
|
|
|
|
/* Metrics of the current font */
|
|
|
|
LONG CharWidth;
|
|
|
|
LONG CharHeight;
|
2015-11-01 16:25:19 +00:00
|
|
|
} CLIPBOARD_GLOBALS;
|
|
|
|
|
|
|
|
extern CLIPBOARD_GLOBALS Globals;
|
|
|
|
|
|
|
|
#endif /* _CLIPBRD_PCH_ */
|