-
Notifications
You must be signed in to change notification settings - Fork 0
/
cliputils.h
39 lines (32 loc) · 954 Bytes
/
cliputils.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* 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);