ReactOS 0.4.16-dev-338-g34e76ad
|
#include <assert.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winerror.h"
#include "winnls.h"
#include "ole2.h"
#include "wine/debug.h"
#include "olestd.h"
#include "storage32.h"
#include "compobj_private.h"
Go to the source code of this file.
Classes | |
struct | ole_priv_data_entry |
struct | ole_priv_data |
struct | snapshot |
struct | ole_clipbrd |
struct | PresentationDataHeader |
struct | enum_fmtetc |
Macros | |
#define | COBJMACROS |
#define | NONAMELESSUNION |
Typedefs | |
typedef struct snapshot | snapshot |
typedef struct ole_clipbrd | ole_clipbrd |
typedef struct PresentationDataHeader | PresentationDataHeader |
typedef struct enum_fmtetc | enum_fmtetc |
Variables | |
static ole_clipbrd * | theOleClipboard |
static CRITICAL_SECTION | latest_snapshot_cs = { &latest_snapshot_cs_debug, -1, 0, 0, 0, 0 } |
static CRITICAL_SECTION_DEBUG | latest_snapshot_cs_debug |
static const WCHAR | clipbrd_wndclass [] = {'C','L','I','P','B','R','D','W','N','D','C','L','A','S','S',0} |
UINT | ownerlink_clipboard_format = 0 |
UINT | filename_clipboard_format = 0 |
UINT | filenameW_clipboard_format = 0 |
UINT | dataobject_clipboard_format = 0 |
UINT | embedded_object_clipboard_format = 0 |
UINT | embed_source_clipboard_format = 0 |
UINT | custom_link_source_clipboard_format = 0 |
UINT | link_source_clipboard_format = 0 |
UINT | object_descriptor_clipboard_format = 0 |
UINT | link_source_descriptor_clipboard_format = 0 |
UINT | ole_private_data_clipboard_format = 0 |
static UINT | wine_marshal_clipboard_format |
static const IEnumFORMATETCVtbl | efvt |
static const IDataObjectVtbl | snapshot_vtable |
#define COBJMACROS |
Definition at line 66 of file clipboard.c.
#define NONAMELESSUNION |
Definition at line 67 of file clipboard.c.
typedef struct enum_fmtetc enum_fmtetc |
typedef struct ole_clipbrd ole_clipbrd |
|
static |
Definition at line 2061 of file clipboard.c.
Referenced by create_clipbrd_window().
Definition at line 2129 of file clipboard.c.
Referenced by get_clipbrd_window().
Definition at line 217 of file clipboard.c.
Referenced by DataObjectImpl_GetData(), DataObjectImpl_GetDataHere(), DataObjectImpl_QueryGetData(), set_clipboard_formats(), snapshot_GetData(), snapshot_GetDataHere(), snapshot_QueryGetData(), and test_enum_fmtetc().
Definition at line 538 of file clipboard.c.
Referenced by get_data_from_bitmap(), and get_stgmed_for_bitmap().
Definition at line 453 of file clipboard.c.
Referenced by dup_metafilepict(), expose_marshalled_dataobject(), get_data_from_global(), get_stgmed_for_global(), get_stgmed_for_storage(), and get_stgmed_for_stream().
Definition at line 483 of file clipboard.c.
Referenced by get_data_from_metafilepict().
|
static |
Definition at line 430 of file clipboard.c.
Referenced by OLEClipbrd_IEnumFORMATETC_Clone(), and snapshot_EnumFormatEtc().
|
static |
Definition at line 1957 of file clipboard.c.
Referenced by OleFlushClipboard(), and OleSetClipboard().
|
inlinestatic |
Definition at line 689 of file clipboard.c.
Referenced by clipbrd_wndproc(), set_clipboard_formats(), snapshot_GetData(), and snapshot_GetDataHere().
Definition at line 520 of file clipboard.c.
Referenced by render_format().
|
inlinestatic |
Definition at line 1918 of file clipboard.c.
Referenced by OleFlushClipboard(), OleSetClipboard(), and set_src_dataobject().
|
static |
Definition at line 1097 of file clipboard.c.
Referenced by snapshot_GetData(), and snapshot_GetDataHere().
Definition at line 1077 of file clipboard.c.
Referenced by get_current_dataobject().
|
static |
Definition at line 898 of file clipboard.c.
Referenced by render_format().
|
static |
Definition at line 840 of file clipboard.c.
Referenced by render_format().
|
static |
Definition at line 812 of file clipboard.c.
Referenced by render_format().
|
static |
Definition at line 868 of file clipboard.c.
Referenced by render_format().
|
static |
Definition at line 704 of file clipboard.c.
Referenced by render_format().
|
static |
Definition at line 759 of file clipboard.c.
Referenced by render_format().
|
inlinestatic |
Definition at line 186 of file clipboard.c.
Referenced by clipbrd_wndproc(), OleFlushClipboard(), OleGetClipboard(), OleIsCurrentClipboard(), and OleSetClipboard().
|
static |
Definition at line 1159 of file clipboard.c.
Referenced by snapshot_EnumFormatEtc(), snapshot_GetData(), and snapshot_GetDataHere().
Definition at line 1340 of file clipboard.c.
Referenced by snapshot_GetData().
|
static |
Definition at line 1324 of file clipboard.c.
Referenced by snapshot_GetData().
Definition at line 1234 of file clipboard.c.
Referenced by snapshot_GetData().
Definition at line 1280 of file clipboard.c.
Referenced by snapshot_GetData(), and snapshot_GetDataHere().
Definition at line 1253 of file clipboard.c.
Referenced by snapshot_GetData().
Definition at line 1132 of file clipboard.c.
Referenced by get_priv_data(), and snapshot_GetData().
|
inlinestatic |
Definition at line 159 of file clipboard.c.
Referenced by DataObjectImpl_AddRef(), DataObjectImpl_DAdvise(), DataObjectImpl_DUnadvise(), DataObjectImpl_EnumDAdvise(), DataObjectImpl_EnumFormatEtc(), DataObjectImpl_GetCanonicalFormatEtc(), DataObjectImpl_GetData(), DataObjectImpl_GetDataHere(), DataObjectImpl_QueryGetData(), DataObjectImpl_QueryInterface(), DataObjectImpl_Release(), DataObjectImpl_SetData(), snapshot_AddRef(), snapshot_GetData(), snapshot_GetDataHere(), snapshot_QueryInterface(), and snapshot_Release().
|
inlinestatic |
Definition at line 238 of file clipboard.c.
Referenced by EnumFormatImpl_AddRef(), EnumFormatImpl_Clone(), EnumFormatImpl_Next(), EnumFormatImpl_QueryInterface(), EnumFormatImpl_Release(), EnumFormatImpl_Reset(), EnumFormatImpl_Skip(), OLEClipbrd_IEnumFORMATETC_AddRef(), OLEClipbrd_IEnumFORMATETC_Clone(), OLEClipbrd_IEnumFORMATETC_Next(), OLEClipbrd_IEnumFORMATETC_QueryInterface(), OLEClipbrd_IEnumFORMATETC_Release(), OLEClipbrd_IEnumFORMATETC_Reset(), and OLEClipbrd_IEnumFORMATETC_Skip().
|
static |
Definition at line 278 of file clipboard.c.
|
static |
Definition at line 390 of file clipboard.c.
|
static |
Definition at line 313 of file clipboard.c.
|
static |
Definition at line 248 of file clipboard.c.
|
static |
Definition at line 291 of file clipboard.c.
|
static |
Definition at line 374 of file clipboard.c.
|
static |
Definition at line 355 of file clipboard.c.
Definition at line 1781 of file clipboard.c.
Referenced by OleInitialize().
Definition at line 2027 of file clipboard.c.
Referenced by OleUninitialize().
Definition at line 2293 of file clipboard.c.
Referenced by fnTextSrv_TxSetText(), CShellBrowser::OnDestroy(), SHFlushClipboard(), START_TEST(), test_consumer_refs(), test_flushed_getdata(), test_set_clipboard(), test_set_clipboard_DRAWCLIPBOARD(), and test_WM_PASTE().
HRESULT WINAPI OleGetClipboard | ( | IDataObject ** | obj | ) |
Definition at line 2249 of file clipboard.c.
Referenced by CDefViewBckgrndMenu::_bCanPaste(), CDefaultContextMenu::DoPaste(), HasClipboardData(), OleUIPasteSpecialW(), paste_special(), test_complex_get_clipboard(), test_consumer_refs(), test_enum_fmtetc(), test_flushed_getdata(), test_get_clipboard(), test_get_clipboard_locked(), test_get_clipboard_uninitialized(), test_getdatahere(), test_multithreaded_clipboard(), and test_nonole_clipboard().
HRESULT WINAPI OleIsCurrentClipboard | ( | IDataObject * | data | ) |
Definition at line 2328 of file clipboard.c.
Referenced by clipboard_wnd_proc(), and test_set_clipboard().
HRESULT WINAPI OleSetClipboard | ( | IDataObject * | data | ) |
Definition at line 2199 of file clipboard.c.
Referenced by CDefaultContextMenu::DoCopyOrCut(), ME_Copy(), test_consumer_refs(), test_flushed_getdata(), test_getdatahere(), test_set_clipboard(), and test_set_clipboard_DRAWCLIPBOARD().
Definition at line 1744 of file clipboard.c.
Referenced by OLEClipbrd_Initialize().
Definition at line 1939 of file clipboard.c.
Referenced by set_src_dataobject().
|
static |
Definition at line 569 of file clipboard.c.
Referenced by render_format().
|
static |
Definition at line 929 of file clipboard.c.
Referenced by clipbrd_wndproc().
|
static |
Definition at line 1827 of file clipboard.c.
Referenced by set_src_dataobject().
Definition at line 2161 of file clipboard.c.
Referenced by OleFlushClipboard(), and OleSetClipboard().
|
static |
Definition at line 1989 of file clipboard.c.
Referenced by clipbrd_wndproc(), OLEClipbrd_UnInitialize(), OleFlushClipboard(), and OleSetClipboard().
|
static |
Definition at line 1029 of file clipboard.c.
Definition at line 1726 of file clipboard.c.
Referenced by OleGetClipboard().
|
static |
Definition at line 1675 of file clipboard.c.
|
static |
Definition at line 1688 of file clipboard.c.
|
static |
Definition at line 1699 of file clipboard.c.
|
static |
Definition at line 1646 of file clipboard.c.
|
static |
Definition at line 1619 of file clipboard.c.
|
static |
Definition at line 1389 of file clipboard.c.
|
static |
Definition at line 1488 of file clipboard.c.
|
static |
Definition at line 1603 of file clipboard.c.
|
static |
Definition at line 999 of file clipboard.c.
|
static |
Definition at line 1041 of file clipboard.c.
|
static |
Definition at line 1635 of file clipboard.c.
|
inlinestatic |
Definition at line 1356 of file clipboard.c.
Referenced by td_equal().
Definition at line 1369 of file clipboard.c.
Referenced by snapshot_GetData(), and snapshot_GetDataHere().
|
inlinestatic |
Definition at line 126 of file clipboard.c.
Referenced by OLEClipbrd_IEnumFORMATETC_Clone().
|
inlinestatic |
Definition at line 112 of file clipboard.c.
Referenced by get_priv_data(), OLEClipbrd_IEnumFORMATETC_Clone(), and set_clipboard_formats().
WINE_DEFAULT_DEBUG_CHANNEL | ( | ole | ) |
|
static |
Definition at line 201 of file clipboard.c.
Referenced by create_clipbrd_window(), and OLEClipbrd_UnInitialize().
UINT custom_link_source_clipboard_format = 0 |
Definition at line 209 of file clipboard.c.
Referenced by register_clipboard_formats().
UINT dataobject_clipboard_format = 0 |
Definition at line 206 of file clipboard.c.
Referenced by get_current_ole_clip_window(), register_clipboard_formats(), and set_dataobject_format().
|
static |
Definition at line 414 of file clipboard.c.
Referenced by enum_fmtetc_construct().
UINT embed_source_clipboard_format = 0 |
Definition at line 208 of file clipboard.c.
Referenced by get_storage(), OleQueryCreateFromData(), register_clipboard_formats(), and render_format().
UINT embedded_object_clipboard_format = 0 |
Definition at line 207 of file clipboard.c.
Referenced by get_storage(), OleQueryCreateFromData(), and register_clipboard_formats().
UINT filename_clipboard_format = 0 |
Definition at line 204 of file clipboard.c.
Referenced by OleQueryCreateFromData(), and register_clipboard_formats().
UINT filenameW_clipboard_format = 0 |
Definition at line 205 of file clipboard.c.
Referenced by register_clipboard_formats().
|
static |
Definition at line 177 of file clipboard.c.
Referenced by OleGetClipboard(), and snapshot_Release().
|
static |
Definition at line 178 of file clipboard.c.
UINT link_source_clipboard_format = 0 |
Definition at line 210 of file clipboard.c.
Referenced by register_clipboard_formats().
UINT link_source_descriptor_clipboard_format = 0 |
Definition at line 212 of file clipboard.c.
Referenced by register_clipboard_formats().
UINT object_descriptor_clipboard_format = 0 |
Definition at line 211 of file clipboard.c.
Referenced by register_clipboard_formats().
UINT ole_private_data_clipboard_format = 0 |
Definition at line 213 of file clipboard.c.
Referenced by get_priv_data(), register_clipboard_formats(), and set_clipboard_formats().
UINT ownerlink_clipboard_format = 0 |
Definition at line 203 of file clipboard.c.
Referenced by register_clipboard_formats().
|
static |
Definition at line 1706 of file clipboard.c.
Referenced by snapshot_construct().
|
static |
Definition at line 175 of file clipboard.c.
Referenced by get_ole_clipbrd(), OLEClipbrd_Initialize(), OLEClipbrd_UnInitialize(), render_embed_source_hack(), and snapshot_Release().
|
static |
Definition at line 215 of file clipboard.c.
Referenced by expose_marshalled_dataobject(), get_current_dataobject(), and register_clipboard_formats().