reactos/base/applications/clipbrd/precomp.h
Hermès Bélusca-Maïto ebe3d5273e
[CLIPBRD] Improvements for the Clipboard Viewer.
- Improve the scrolling support for bitmaps, DIBs and text formats.
  This completes the work started in CORE-10679 by Ricardo Hanke.
  Includes scrolling with the keyboard and the mouse wheel.
- Add support for the CF_DSP* clipboard formats, as well as CF_TEXT
  and CF_OEMTEXT.
- Add support for owner-display clipboard format CF_OWNERDISPLAY.
- Realize any palette found in the clipboard (CF_PALETTE) before
  displaying the clipboard data format we want.
- Remove dead code.
- Update the file headers.
2018-05-13 22:25:55 +02:00

57 lines
1 KiB
C

/*
* 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 "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_ */