2015-11-01 16:25:19 +00:00
|
|
|
/*
|
2018-05-13 20:15:41 +00:00
|
|
|
* PROJECT: ReactOS Clipboard Viewer
|
|
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
|
|
* PURPOSE: Display helper functions.
|
|
|
|
* COPYRIGHT: Copyright 2015-2018 Ricardo Hanke
|
|
|
|
* Copyright 2015-2018 Hermes Belusca-Maito
|
2015-11-01 16:25:19 +00:00
|
|
|
*/
|
|
|
|
|
2018-05-13 20:15:41 +00:00
|
|
|
#pragma once
|
|
|
|
|
2015-11-01 16:25:19 +00:00
|
|
|
void ShowLastWin32Error(HWND hwndParent);
|
|
|
|
void BringWindowToFront(HWND hWnd);
|
|
|
|
int MessageBoxRes(HWND hWnd, HINSTANCE hInstance, UINT uText, UINT uCaption, UINT uType);
|
2018-05-13 20:15:41 +00:00
|
|
|
void DrawTextFromResource(HINSTANCE hInstance, UINT uID, HDC hDC, LPRECT lpRect, UINT uFormat);
|
|
|
|
void DrawTextFromClipboard(UINT uFormat, PAINTSTRUCT ps, SCROLLSTATE state);
|
|
|
|
void BitBltFromClipboard(PAINTSTRUCT ps, SCROLLSTATE state, DWORD dwRop);
|
|
|
|
void SetDIBitsToDeviceFromClipboard(UINT uFormat, PAINTSTRUCT ps, SCROLLSTATE state, UINT fuColorUse);
|
2015-11-01 16:25:19 +00:00
|
|
|
void PlayMetaFileFromClipboard(HDC hdc, const RECT *lpRect);
|
|
|
|
void PlayEnhMetaFileFromClipboard(HDC hdc, const RECT *lpRect);
|
2018-05-13 20:15:41 +00:00
|
|
|
BOOL RealizeClipboardPalette(HDC hdc);
|