1 /* 2 * PROJECT: ReactOS Clipboard Viewer 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 * PURPOSE: Clipboard helper functions. 5 * COPYRIGHT: Copyright 2015-2018 Ricardo Hanke 6 * Copyright 2015-2018 Hermes Belusca-Maito 7 */ 8 9 #pragma once 10 11 LRESULT 12 SendClipboardOwnerMessage( 13 IN BOOL bUnicode, 14 IN UINT uMsg, 15 IN WPARAM wParam, 16 IN LPARAM lParam); 17 18 void 19 RetrieveClipboardFormatName(HINSTANCE hInstance, 20 UINT uFormat, 21 BOOL Unicode, 22 PVOID lpszFormat, 23 UINT cch); 24 25 void DeleteClipboardContent(void); 26 UINT GetAutomaticClipboardFormat(void); 27 BOOL IsClipboardFormatSupported(UINT uFormat); 28 29 SIZE_T 30 GetLineExtentW( 31 IN LPCWSTR lpText, 32 OUT LPCWSTR* lpNextLine); 33 34 SIZE_T 35 GetLineExtentA( 36 IN LPCSTR lpText, 37 OUT LPCSTR* lpNextLine); 38 39 BOOL GetClipboardDataDimensions(UINT uFormat, PRECT pRc); 40