FreeRDP
synthetic.c File Reference
#include <errno.h>
#include <winpr/crt.h>
#include <winpr/user.h>
#include "clipboard.h"

Functions

static voidclipboard_synthesize_cf_text (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_cf_oemtext (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_cf_locale (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_cf_unicodetext (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_utf8_string (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_cf_dib (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_cf_dibv5 (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_image_bmp (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_html_format (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
static voidclipboard_synthesize_text_html (wClipboard *clipboard, UINT32 formatId, const void *data, UINT32 *pSize)
 
BOOL ClipboardInitSynthesizers (wClipboard *clipboard)
 

Function Documentation

static void* clipboard_synthesize_cf_dib ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"CF_DIB":

BITMAPINFO structure followed by the bitmap bits.

Here is the call graph for this function:

Here is the caller graph for this function:

static void* clipboard_synthesize_cf_dibv5 ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"CF_DIBV5":

BITMAPV5HEADER structure followed by the bitmap color space information and the bitmap bits.

Here is the call graph for this function:

Here is the caller graph for this function:

static void* clipboard_synthesize_cf_locale ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"CF_LOCALE":

System locale identifier associated with CF_TEXT

Here is the caller graph for this function:

static void* clipboard_synthesize_cf_oemtext ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"CF_OEMTEXT":

Null-terminated OEM text with CR/LF line endings.

Here is the call graph for this function:

Here is the caller graph for this function:

static void* clipboard_synthesize_cf_text ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

WinPR: Windows Portable Runtime Clipboard Functions

Copyright 2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.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. Standard Clipboard Formats: http://msdn.microsoft.com/en-us/library/windows/desktop/ff729168/ "CF_TEXT":

Null-terminated ANSI text with CR/LF line endings.

Here is the call graph for this function:

Here is the caller graph for this function:

static void* clipboard_synthesize_cf_unicodetext ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"CF_UNICODETEXT":

Null-terminated UTF-16 text with CR/LF line endings.

Here is the call graph for this function:

Here is the caller graph for this function:

static void* clipboard_synthesize_html_format ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"HTML Format":

HTML clipboard format: msdn.microsoft.com/en-us/library/windows/desktop/ms649015/

Here is the call graph for this function:

Here is the caller graph for this function:

static void* clipboard_synthesize_image_bmp ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"image/bmp":

Bitmap file format.

Here is the caller graph for this function:

static void* clipboard_synthesize_text_html ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"text/html":

HTML text format.

Here is the call graph for this function:

Here is the caller graph for this function:

static void* clipboard_synthesize_utf8_string ( wClipboard *  clipboard,
UINT32  formatId,
const void data,
UINT32 pSize 
)
static

"UTF8_STRING":

Null-terminated UTF-8 string with LF line endings.

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL ClipboardInitSynthesizers ( wClipboard *  clipboard)

CF_TEXT

CF_OEMTEXT

CF_UNICODETEXT

UTF8_STRING

text/plain

TEXT

STRING

CF_DIB

CF_DIBV5

image/bmp

HTML Format

text/html

Here is the call graph for this function:

Here is the caller graph for this function: