mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
ebe3d5273e
- 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.
39 lines
954 B
C
39 lines
954 B
C
/*
|
|
* PROJECT: ReactOS Clipboard Viewer
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: Clipboard helper functions.
|
|
* COPYRIGHT: Copyright 2015-2018 Ricardo Hanke
|
|
* Copyright 2015-2018 Hermes Belusca-Maito
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
LRESULT
|
|
SendClipboardOwnerMessage(
|
|
IN BOOL bUnicode,
|
|
IN UINT uMsg,
|
|
IN WPARAM wParam,
|
|
IN LPARAM lParam);
|
|
|
|
void
|
|
RetrieveClipboardFormatName(HINSTANCE hInstance,
|
|
UINT uFormat,
|
|
BOOL Unicode,
|
|
PVOID lpszFormat,
|
|
UINT cch);
|
|
|
|
void DeleteClipboardContent(void);
|
|
UINT GetAutomaticClipboardFormat(void);
|
|
BOOL IsClipboardFormatSupported(UINT uFormat);
|
|
|
|
SIZE_T
|
|
GetLineExtentW(
|
|
IN LPCWSTR lpText,
|
|
OUT LPCWSTR* lpNextLine);
|
|
|
|
SIZE_T
|
|
GetLineExtentA(
|
|
IN LPCSTR lpText,
|
|
OUT LPCSTR* lpNextLine);
|
|
|
|
BOOL GetClipboardDataDimensions(UINT uFormat, PRECT pRc);
|