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: Clipboard 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
|
|
|
|
|
|
|
|
LRESULT
|
|
|
|
SendClipboardOwnerMessage(
|
|
|
|
IN BOOL bUnicode,
|
|
|
|
IN UINT uMsg,
|
|
|
|
IN WPARAM wParam,
|
|
|
|
IN LPARAM lParam);
|
|
|
|
|
2016-02-13 20:57:39 +00:00
|
|
|
void
|
|
|
|
RetrieveClipboardFormatName(HINSTANCE hInstance,
|
|
|
|
UINT uFormat,
|
|
|
|
BOOL Unicode,
|
|
|
|
PVOID lpszFormat,
|
|
|
|
UINT cch);
|
|
|
|
|
2015-11-01 16:25:19 +00:00
|
|
|
void DeleteClipboardContent(void);
|
|
|
|
UINT GetAutomaticClipboardFormat(void);
|
|
|
|
BOOL IsClipboardFormatSupported(UINT uFormat);
|
2018-05-13 20:15:41 +00:00
|
|
|
|
|
|
|
SIZE_T
|
|
|
|
GetLineExtentW(
|
|
|
|
IN LPCWSTR lpText,
|
|
|
|
OUT LPCWSTR* lpNextLine);
|
|
|
|
|
|
|
|
SIZE_T
|
|
|
|
GetLineExtentA(
|
|
|
|
IN LPCSTR lpText,
|
|
|
|
OUT LPCSTR* lpNextLine);
|
|
|
|
|
|
|
|
BOOL GetClipboardDataDimensions(UINT uFormat, PRECT pRc);
|