FreeRDP
|
#include <winpr/config.h>
#include <errno.h>
#include <winpr/crt.h>
#include <winpr/user.h>
#include <winpr/image.h>
#include "../utils/image.h"
#include "clipboard.h"
Functions | |
static void * | clipboard_synthesize_cf_text (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
static void * | clipboard_synthesize_cf_oemtext (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
static void * | clipboard_synthesize_cf_locale (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
static void * | clipboard_synthesize_cf_unicodetext (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
static void * | clipboard_synthesize_utf8_string (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
static BOOL | is_format_bitmap (wClipboard *clipboard, UINT32 formatId) |
static void * | clipboard_synthesize_cf_dib (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
static void * | clipboard_synthesize_cf_dibv5 (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
static void * | clipboard_prepend_bmp_header (const WINPR_BITMAP_INFO_HEADER *pInfoHeader, const void *data, size_t size, UINT32 *pSize) |
static void * | clipboard_synthesize_image_bmp (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
static void * | clipboard_synthesize_image_bmp_to_format (wClipboard *clipboard, UINT32 formatId, UINT32 bmpFormat, const void *data, UINT32 *pSize) |
static void * | clipboard_synthesize_html_format (wClipboard *clipboard, UINT32 formatId, const void *pData, UINT32 *pSize) |
static void * | clipboard_synthesize_text_html (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize) |
BOOL | ClipboardInitSynthesizers (wClipboard *clipboard) |
Variables | |
static const char * | mime_bitmap [] |
|
static |
|
static |
"CF_DIB":
BITMAPINFO structure followed by the bitmap bits.
|
static |
"CF_DIBV5":
BITMAPV5HEADER structure followed by the bitmap color space information and the bitmap bits.
|
static |
"CF_LOCALE":
System locale identifier associated with CF_TEXT
|
static |
"CF_OEMTEXT":
Null-terminated OEM text with CR/LF line endings.
|
static |
Standard Clipboard Formats: http://msdn.microsoft.com/en-us/library/windows/desktop/ff729168/ "CF_TEXT":
Null-terminated ANSI text with CR/LF line endings.
|
static |
"CF_UNICODETEXT":
Null-terminated UTF-16 text with CR/LF line endings.
|
static |
"HTML Format":
HTML clipboard format: msdn.microsoft.com/en-us/library/windows/desktop/ms649015/
|
static |
"image/bmp":
Bitmap file format.
|
static |
|
static |
"text/html":
HTML text format.
|
static |
mime_utf8_string:
Null-terminated UTF-8 string with LF line endings.
BOOL ClipboardInitSynthesizers | ( | wClipboard * | clipboard | ) |
CF_TEXT
CF_OEMTEXT
CF_UNICODETEXT
UTF8_STRING
text/plain
CF_DIB
CF_DIBV5
image/bmp
image/png
image/webp
image/jpeg
HTML Format
text/html
|
static |
|
static |
WinPR: Windows Portable Runtime Clipboard Functions
Copyright 2014 Marc-Andre Moreau marca ndre .more au@g mail. com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.