|
ReactOS 0.4.16-dev-2357-g35d0dfe
|
#include <assert.h>#include <stdlib.h>#include <stdarg.h>#include <stdio.h>#include <string.h>#include "windef.h"#include "winbase.h"#include "winerror.h"#include "wingdi.h"#include "winuser.h"#include "winnls.h"#include "winreg.h"#include "ole2.h"#include "ole2ver.h"#include "compobj_private.h"#include "olestd.h"#include "wine/list.h"#include "wine/debug.h"
Go to the source code of this file.
Classes | |
| struct | tagTrackerWindowInfo |
| struct | tagOleMenuDescriptor |
| struct | tagOleMenuHookItem |
| struct | DropTargetWrapper |
| struct | EnumOLEVERB |
Macros | |
| #define | COBJMACROS |
| #define | DRAG_TIMER_ID 1 |
Typedefs | |
| typedef struct tagTrackerWindowInfo | TrackerWindowInfo |
| typedef struct tagOleMenuDescriptor | OleMenuDescriptor |
| typedef struct tagOleMenuHookItem | OleMenuHookItem |
Variables | |
| static OleMenuHookItem * | hook_list |
| static LONG | OLE_moduleLockCount = 0 |
| static const WCHAR | OLEDD_DRAGTRACKERCLASS [] = L"WineDragDropTracker32" |
| static const WCHAR | prop_olemenuW [] = L"PROP_OLEMenuDescriptor" |
| static const WCHAR | prop_oledroptarget [] = L"OleDropTargetInterface" |
| static const WCHAR | prop_marshalleddroptarget [] = L"WineMarshalledDropTarget" |
| static const IDropTargetVtbl | DropTargetWrapperVTbl |
| static const IEnumOLEVERBVtbl | EnumOLEVERB_VTable |
| typedef struct tagOleMenuHookItem OleMenuHookItem |
Definition at line 2009 of file clipboard.c.
Referenced by clipbrd_destroy(), and OleUninitialize().
Definition at line 327 of file ole2.c.
Referenced by RegisterDragDrop().
Definition at line 353 of file ole2.c.
Referenced by get_droptarget_pointer(), and RevokeDragDrop().
| HRESULT WINAPI DoDragDrop | ( | IDataObject * | pDataObject, |
| IDropSource * | pDropSource, | ||
| DWORD | dwOKEffect, | ||
| DWORD * | pdwEffect | ||
| ) |
Definition at line 737 of file ole2.c.
Referenced by CDefView::OnNotify(), SHDoDragDrop(), and test_DoDragDrop().
|
static |
Definition at line 2302 of file ole2.c.
Referenced by OLEDD_TrackStateChange().
|
static |
Definition at line 2243 of file ole2.c.
Referenced by OLEDD_TrackStateChange().
|
static |
Definition at line 411 of file ole2.c.
|
static |
Definition at line 434 of file ole2.c.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 920 of file ole2.c.
|
static |
Definition at line 1052 of file ole2.c.
|
static |
Definition at line 1075 of file ole2.c.
Referenced by EnumOLEVERB_Clone(), and OleRegEnumVerbs().
|
static |
Definition at line 942 of file ole2.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 270 of file ole2.c.
Referenced by get_droptarget_local_handle(), is_droptarget(), and RevokeDragDrop().
Definition at line 298 of file ole2.c.
Referenced by get_droptarget_pointer().
|
static |
Definition at line 526 of file ole2.c.
Referenced by drag_enter().
|
static |
Definition at line 2912 of file ole2.c.
Referenced by OleCreateFromDataEx(), and OleCreateFromFileEx().
|
inlinestatic |
Definition at line 425 of file ole2.c.
Referenced by DropTargetWrapper_DragEnter(), DropTargetWrapper_DragLeave(), DropTargetWrapper_DragOver(), and DropTargetWrapper_Drop().
|
static |
Definition at line 2355 of file ole2.c.
Referenced by OLEDD_TrackStateChange().
|
inlinestatic |
Definition at line 390 of file ole2.c.
Referenced by DropTargetWrapper_AddRef(), DropTargetWrapper_QueryInterface(), DropTargetWrapper_Release(), and get_target_from_wrapper().
|
inlinestatic |
Definition at line 901 of file ole2.c.
Referenced by EnumOLEVERB_AddRef(), EnumOLEVERB_Clone(), EnumOLEVERB_Next(), EnumOLEVERB_Release(), EnumOLEVERB_Reset(), and EnumOLEVERB_Skip().
|
inlinestatic |
Definition at line 280 of file ole2.c.
Referenced by drag_enter(), and RegisterDragDrop().
Definition at line 1930 of file ole2.c.
Referenced by OleTranslateAccelerator().
| HRESULT WINAPI OleCreate | ( | REFCLSID | rclsid, |
| REFIID | riid, | ||
| DWORD | renderopt, | ||
| LPFORMATETC | pFormatEtc, | ||
| LPOLECLIENTSITE | pClientSite, | ||
| LPSTORAGE | pStg, | ||
| LPVOID * | ppvObj | ||
| ) |
Definition at line 2596 of file ole2.c.
Referenced by InitWebBrowser(), test_OleCreate(), and UIINSERTOBJECTDLG_OnOpen().
| HRESULT WINAPI OleCreateFromData | ( | IDataObject * | data, |
| REFIID | iid, | ||
| DWORD | renderopt, | ||
| FORMATETC * | fmt, | ||
| IOleClientSite * | client_site, | ||
| IStorage * | stg, | ||
| void ** | obj | ||
| ) |
Definition at line 3015 of file ole2.c.
Referenced by OleCreateLinkFromData(), OleCreateStaticFromData(), and test_OleCreateStaticFromData().
| HRESULT WINAPI OleCreateFromDataEx | ( | IDataObject * | data, |
| REFIID | iid, | ||
| DWORD | flags, | ||
| DWORD | renderopt, | ||
| ULONG | num_cache_fmts, | ||
| DWORD * | adv_flags, | ||
| FORMATETC * | cache_fmts, | ||
| IAdviseSink * | sink, | ||
| DWORD * | conns, | ||
| IOleClientSite * | client_site, | ||
| IStorage * | stg, | ||
| void ** | obj | ||
| ) |
Definition at line 2989 of file ole2.c.
Referenced by OleCreateFromData().
| HRESULT WINAPI OleCreateFromFile | ( | REFCLSID | clsid, |
| const OLECHAR * | filename, | ||
| REFIID | iid, | ||
| DWORD | renderopt, | ||
| FORMATETC * | fmt, | ||
| IOleClientSite * | client_site, | ||
| IStorage * | storage, | ||
| void ** | obj | ||
| ) |
Definition at line 3207 of file ole2.c.
Referenced by UIINSERTOBJECTDLG_OnOpen().
| HRESULT WINAPI OleCreateFromFileEx | ( | REFCLSID | clsid, |
| const OLECHAR * | filename, | ||
| REFIID | iid, | ||
| DWORD | flags, | ||
| DWORD | renderopt, | ||
| ULONG | num_fmts, | ||
| DWORD * | adv_flags, | ||
| FORMATETC * | fmts, | ||
| IAdviseSink * | sink, | ||
| DWORD * | conns, | ||
| IOleClientSite * | client_site, | ||
| IStorage * | stg, | ||
| void ** | obj | ||
| ) |
Definition at line 3141 of file ole2.c.
Referenced by OleCreateFromFile().
| HRESULT WINAPI OleCreateLinkFromData | ( | IDataObject * | data, |
| REFIID | iid, | ||
| DWORD | renderopt, | ||
| FORMATETC * | fmt, | ||
| IOleClientSite * | client_site, | ||
| IStorage * | stg, | ||
| void ** | obj | ||
| ) |
Definition at line 3027 of file ole2.c.
Definition at line 1793 of file ole2.c.
| HRESULT WINAPI OleCreateStaticFromData | ( | IDataObject * | data, |
| REFIID | iid, | ||
| DWORD | renderopt, | ||
| FORMATETC * | fmt, | ||
| IOleClientSite * | client_site, | ||
| IStorage * | stg, | ||
| void ** | obj | ||
| ) |
Definition at line 3038 of file ole2.c.
Referenced by test_OleCreateStaticFromData().
|
static |
Definition at line 2133 of file ole2.c.
Referenced by OLEDD_Initialize().
Definition at line 2476 of file ole2.c.
Referenced by DoDragDrop().
Definition at line 2106 of file ole2.c.
Referenced by OleInitialize().
|
static |
Definition at line 2399 of file ole2.c.
Referenced by DoDragDrop(), and OLEDD_DragTrackerWindowProc().
Definition at line 2743 of file ole2.c.
Referenced by test_OleDoAutoConvert().
Definition at line 2552 of file ole2.c.
Referenced by test_OleDraw(), and test_OleLoad().
Definition at line 3219 of file ole2.c.
Referenced by copy_stg_medium(), and IDataObjectImpl::CopyMedium().
Definition at line 2691 of file ole2.c.
Referenced by OleDoAutoConvert(), and test_OleDoAutoConvert().
| HRESULT WINAPI DECLSPEC_HOTPATCH OleInitialize | ( | LPVOID | reserved | ) |
Definition at line 162 of file ole2.c.
Referenced by _tWinMain(), adv_install(), AtlAxWinInit(), AVIFileInit(), BrowserThreadProc(), CreateHelpViewer(), CDesktopThread::DesktopThreadProc(), display_cpl_sheets(), do_enum(), FileOpenDlgProc95(), hook_proc(), ImageView_Main(), init_explorerbrowser(), ME_MakeEditor(), OleInit::OleInit(), SHRegisterDragDrop(), START_TEST(), StartWithDesktop(), test_CoCreateInstance(), test_CoInitializeEx(), test_consumer_refs(), test_DoDragDrop(), test_flushed_getdata(), test_get_clipboard_locked(), test_getdatahere(), test_multithreaded_clipboard(), test_nonole_clipboard(), test_ole_init_wndproc(), test_ole_initialization(), test_OleCreateFontIndirect(), test_OleInitialize_InitCounting(), test_Register_Revoke(), test_set_clipboard(), test_set_clipboard_DRAWCLIPBOARD(), test_TreatAsClass(), CHardErrorThread::ThreadProc(), wmain(), and wWinMain().
| BOOL WINAPI OleIsRunning | ( | LPOLEOBJECT | object | ) |
Definition at line 2803 of file ole2.c.
Referenced by test_runnable().
| HRESULT WINAPI OleLoad | ( | LPSTORAGE | pStg, |
| REFIID | riid, | ||
| LPOLECLIENTSITE | pClientSite, | ||
| LPVOID * | ppvObj | ||
| ) |
Definition at line 1205 of file ole2.c.
Referenced by OleCreateFromDataEx(), OleCreateFromFileEx(), and test_OleLoad().
Definition at line 1358 of file ole2.c.
Referenced by test_OleLockRunning().
Definition at line 1609 of file ole2.c.
Referenced by OLEMenu_InstallHooks().
Definition at line 1527 of file ole2.c.
Referenced by OLEMenu_FindMainMenuIndex(), and OLEMenu_SetIsServerMenu().
Definition at line 1714 of file ole2.c.
Referenced by OLEMenu_InstallHooks().
Definition at line 1412 of file ole2.c.
Referenced by OleSetMenuDescriptor().
|
static |
Definition at line 1504 of file ole2.c.
Referenced by OLEMenu_CallWndProc(), OLEMenu_GetMsgProc(), and OleSetMenuDescriptor().
|
static |
Definition at line 1570 of file ole2.c.
Referenced by OLEMenu_CallWndProc().
Definition at line 1462 of file ole2.c.
Referenced by OleSetMenuDescriptor().
Definition at line 2824 of file ole2.c.
| HRESULT WINAPI OleQueryCreateFromData | ( | IDataObject * | data | ) |
Definition at line 2860 of file ole2.c.
| HRESULT WINAPI OleQueryLinkFromData | ( | IDataObject * | pSrcDataObject | ) |
Definition at line 1107 of file ole2.c.
Referenced by DefaultHandler_EnumVerbs(), and SEALED_::IOleObject::EnumVerbs().
Definition at line 848 of file ole2.c.
Referenced by DefaultHandler_GetMiscStatus(), SEALED_::IOleObject::GetMiscStatus(), and test_OleRegGetMiscStatus().
Definition at line 668 of file ole2.c.
Referenced by DefaultHandler_GetUserType(), get_descriptors(), SEALED_::IOleObject::GetUserType(), OleDoAutoConvert(), OleObject_GetUserType(), and test_OleRegGetUserType().
| HRESULT WINAPI DECLSPEC_HOTPATCH OleRun | ( | LPUNKNOWN | pUnknown | ) |
Definition at line 1186 of file ole2.c.
Referenced by OleCreate(), START_TEST(), and test_OleRun().
| HRESULT WINAPI OleSave | ( | LPPERSISTSTORAGE | pPS, |
| LPSTORAGE | pStg, | ||
| BOOL | fSameAsLoad | ||
| ) |
Definition at line 1319 of file ole2.c.
Definition at line 2717 of file ole2.c.
Referenced by test_OleDoAutoConvert().
Definition at line 1149 of file ole2.c.
Referenced by InitWebBrowser().
| HRESULT WINAPI OleSetMenuDescriptor | ( | HOLEMENU | hOleMenu, |
| HWND | hwndFrame, | ||
| HWND | hwndActiveObject, | ||
| LPOLEINPLACEFRAME | lpFrame, | ||
| LPOLEINPLACEACTIVEOBJECT | lpActiveObject | ||
| ) |
Definition at line 1856 of file ole2.c.
Referenced by test_ole_menu().
| HRESULT WINAPI OleTranslateAccelerator | ( | LPOLEINPLACEFRAME | lpFrame, |
| LPOLEINPLACEFRAMEINFO | lpFrameInfo, | ||
| LPMSG | lpmsg | ||
| ) |
Definition at line 2579 of file ole2.c.
| void WINAPI DECLSPEC_HOTPATCH OleUninitialize | ( | void | ) |
Definition at line 218 of file ole2.c.
Referenced by _tWinMain(), adv_install(), BrowserThreadProc(), CDesktopThread::DesktopThreadProc(), display_cpl_sheets(), do_enum(), GetFileName95(), hook_proc(), ImageView_Main(), ME_DestroyEditor(), ReleaseHelpViewer(), CHardErrorThread::s_HardErrorThreadProc(), START_TEST(), StartWithDesktop(), test_CoCreateInstance(), test_CoInitializeEx(), test_consumer_refs(), test_DoDragDrop(), test_flushed_getdata(), test_get_clipboard_locked(), test_getdatahere(), test_multithreaded_clipboard(), test_nonole_clipboard(), test_ole_init_wndproc(), test_ole_initialization(), test_OleCreateFontIndirect(), test_OleInitialize_InitCounting(), test_Register_Revoke(), test_set_clipboard(), test_set_clipboard_DRAWCLIPBOARD(), test_TreatAsClass(), wmain(), and OleInit::~OleInit().
Definition at line 2518 of file ole2.c.
Referenced by OleRegGetMiscStatus().
Definition at line 547 of file ole2.c.
Referenced by DesktopShellView::InitDragDrop(), ShellBrowser::InitDragDrop(), CDefView::OnCreate(), SHRegisterDragDrop(), test_DoDragDrop(), and test_Register_Revoke().
Definition at line 2014 of file ole2.c.
Referenced by CDefViewBckgrndMenu::_bCanPaste(), CRecyclerDropTarget::_DoDeleteDataObject(), CFSDropTarget::_DoDrop(), CheckDataObject(), CopyBindInfo(), DataCache_UpdateCache(), DataCacheEntry_Destroy(), DataCacheEntry_DiscardData(), DataCacheEntry_SetData(), CFSDropTarget::DragEnter(), draw_ole(), CSendToZip::Drop(), CZipFolder::Drop(), CExeDropHandler::Drop(), IDropTargetImpl::Drop(), get_data_from_bitmap(), get_data_from_enhmetafile(), get_data_from_global(), get_data_from_metafilepict(), get_data_from_storage(), get_data_from_stream(), IBindStatusCallback_OnDataAvailable_Stub(), CVfdShExt::Initialize(), BtrfsContextMenu::Initialize(), BtrfsPropSheet::Initialize(), BtrfsVolPropSheet::Initialize(), CShellLink::Initialize(), CFileDefExt::Initialize(), CZipFolder::Initialize(), CLayerUIPropPage::Initialize(), InvokeObjectPickerDialog(), InvokeRemoteRegistryPickerDialog(), load_emf(), ME_GetOLEObjectSize(), ok_attributes_(), OleCreateFromFileEx(), OleCreateStaticFromData(), paste_emf(), paste_rtf(), paste_text(), QueryDeskCplExtInterface(), QueryDeskCplString(), ReleaseBindInfo(), render_embed_source_hack(), CIDLDataObj::SetData(), snapshot_GetDataHere(), STGMEDIUM_UserFree(), stream_out_graphics(), test_complex_get_clipboard(), test_consumer_refs(), test_CopyStgMedium(), test_data_cache(), test_data_cache_cache(), test_data_cache_dib_contents_stream(), test_data_cache_save_data(), test_DataObject(), test_DataObject_FirstFile(), test_DataObject_FirstFolder(), test_EnumObjects_Files(), test_EnumObjects_Folders(), test_flushed_getdata(), test_get_clipboard(), test_getdatahere(), test_nonole_clipboard(), test_OleCreateStaticFromData(), test_ReleaseStgMedium(), TestDefaultFormat(), TestSetAndGetExtraFormat(), BtrfsContextMenu::~BtrfsContextMenu(), BtrfsPropSheet::~BtrfsPropSheet(), BtrfsVolPropSheet::~BtrfsVolPropSheet(), CDrop::~CDrop(), CIDLDataObj::~CIDLDataObj(), IDataObjectImpl::~IDataObjectImpl(), and PIDList::~PIDList().
Definition at line 629 of file ole2.c.
Referenced by CDefView::OnDestroy(), SHRevokeDragDrop(), test_Register_Revoke(), and DesktopShellView::~DesktopShellView().
| WINE_DECLARE_DEBUG_CHANNEL | ( | accel | ) |
| WINE_DEFAULT_DEBUG_CHANNEL | ( | ole | ) |
|
static |
Definition at line 508 of file ole2.c.
Referenced by RegisterDragDrop().
|
static |
Definition at line 497 of file ole2.c.
Referenced by WrapDropTarget().
|
static |
Definition at line 1064 of file ole2.c.
Referenced by EnumOLEVERB_Construct().
|
static |
Definition at line 95 of file ole2.c.
Referenced by common_set_report_hook(), OLEMenu_InstallHooks(), OLEMenu_IsHookInstalled(), and OLEMenu_UnInstallHooks().
|
static |
Definition at line 101 of file ole2.c.
Referenced by OleInitialize(), and OleUninitialize().
Definition at line 106 of file ole2.c.
Referenced by DoDragDrop(), and OLEDD_Initialize().
Definition at line 117 of file ole2.c.
Referenced by get_droptarget_handle(), RegisterDragDrop(), and RevokeDragDrop().
Definition at line 114 of file ole2.c.
Referenced by get_target_from_wrapper(), RegisterDragDrop(), and RevokeDragDrop().
Definition at line 111 of file ole2.c.
Referenced by OLEMenu_CallWndProc(), OLEMenu_GetMsgProc(), and OleSetMenuDescriptor().