ReactOS 0.4.16-dev-598-gc07fba4
|
#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 | NONAMELESSUNION |
#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 [] |
static const WCHAR | prop_olemenuW [] |
static const WCHAR | prop_oledroptarget [] |
static const WCHAR | prop_marshalleddroptarget [] |
static const WCHAR | emptyW [] = { 0 } |
static const IDropTargetVtbl | DropTargetWrapperVTbl |
static const IEnumOLEVERBVtbl | EnumOLEVERB_VTable |
typedef struct tagOleMenuHookItem OleMenuHookItem |
Definition at line 337 of file ole2.c.
Referenced by RegisterDragDrop().
Definition at line 363 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 753 of file ole2.c.
Referenced by CDefView::OnNotify(), SHDoDragDrop(), and test_DoDragDrop().
|
static |
Definition at line 2319 of file ole2.c.
Referenced by OLEDD_TrackStateChange().
|
static |
Definition at line 2260 of file ole2.c.
Referenced by OLEDD_TrackStateChange().
|
static |
Definition at line 421 of file ole2.c.
|
static |
Definition at line 444 of file ole2.c.
|
static |
|
static |
|
static |
Definition at line 405 of file ole2.c.
|
static |
|
static |
Definition at line 938 of file ole2.c.
|
static |
Definition at line 1070 of file ole2.c.
|
static |
Definition at line 1093 of file ole2.c.
Referenced by EnumOLEVERB_Clone(), and OleRegEnumVerbs().
|
static |
Definition at line 960 of file ole2.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 3267 of file ole2.c.
Referenced by PropVariantClear().
Definition at line 281 of file ole2.c.
Referenced by get_droptarget_local_handle(), is_droptarget(), and RevokeDragDrop().
Definition at line 308 of file ole2.c.
Referenced by get_droptarget_pointer().
|
static |
Definition at line 536 of file ole2.c.
Referenced by drag_enter().
|
inlinestatic |
Definition at line 435 of file ole2.c.
Referenced by DropTargetWrapper_DragEnter(), DropTargetWrapper_DragLeave(), DropTargetWrapper_DragOver(), and DropTargetWrapper_Drop().
|
static |
Definition at line 2372 of file ole2.c.
Referenced by OLEDD_TrackStateChange().
|
inlinestatic |
Definition at line 400 of file ole2.c.
Referenced by DropTargetWrapper_AddRef(), DropTargetWrapper_QueryInterface(), DropTargetWrapper_Release(), and get_target_from_wrapper().
|
inlinestatic |
Definition at line 919 of file ole2.c.
Referenced by EnumOLEVERB_AddRef(), EnumOLEVERB_Clone(), EnumOLEVERB_Next(), EnumOLEVERB_Release(), EnumOLEVERB_Reset(), and EnumOLEVERB_Skip().
Definition at line 291 of file ole2.c.
Referenced by drag_enter(), and RegisterDragDrop().
Definition at line 1949 of file ole2.c.
Referenced by OleTranslateAccelerator().
Definition at line 1781 of file clipboard.c.
Referenced by OleInitialize().
Definition at line 2027 of file clipboard.c.
Referenced by OleUninitialize().
HRESULT WINAPI OleCreate | ( | REFCLSID | rclsid, |
REFIID | riid, | ||
DWORD | renderopt, | ||
LPFORMATETC | pFormatEtc, | ||
LPOLECLIENTSITE | pClientSite, | ||
LPSTORAGE | pStg, | ||
LPVOID * | ppvObj | ||
) |
Definition at line 2609 of file ole2.c.
Referenced by InitWebBrowser(), test_OleCreate(), and UIINSERTOBJECTDLG_OnOpen().
Definition at line 1812 of file ole2.c.
|
static |
Definition at line 2150 of file ole2.c.
Referenced by OLEDD_Initialize().
Definition at line 2484 of file ole2.c.
Referenced by DoDragDrop().
Definition at line 2123 of file ole2.c.
Referenced by OleInitialize().
|
static |
Definition at line 2416 of file ole2.c.
Referenced by DoDragDrop(), and OLEDD_DragTrackerWindowProc().
Definition at line 2758 of file ole2.c.
Referenced by test_OleDoAutoConvert().
Definition at line 2565 of file ole2.c.
Referenced by test_OleDraw(), and test_OleLoad().
Definition at line 2704 of file ole2.c.
Referenced by OleDoAutoConvert(), and test_OleDoAutoConvert().
HRESULT WINAPI DECLSPEC_HOTPATCH OleInitialize | ( | LPVOID | reserved | ) |
Definition at line 169 of file ole2.c.
Referenced by _tWinMain(), adv_install(), AtlAxWinInit(), AVIFileInit(), BrowserThreadProc(), CreateHelpViewer(), CDesktopThread::DesktopThreadProc(), display_cpl_sheets(), do_enum(), FileOpenDlgProc95(), hook_proc(), 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(), and wWinMain().
BOOL WINAPI OleIsRunning | ( | LPOLEOBJECT | object | ) |
Definition at line 2818 of file ole2.c.
Referenced by test_runnable().
HRESULT WINAPI OleLoad | ( | LPSTORAGE | pStg, |
REFIID | riid, | ||
LPOLECLIENTSITE | pClientSite, | ||
LPVOID * | ppvObj | ||
) |
Definition at line 1224 of file ole2.c.
Referenced by OleCreateFromDataEx(), OleCreateFromFileEx(), and test_OleLoad().
Definition at line 1377 of file ole2.c.
Referenced by test_OleLockRunning().
Definition at line 1628 of file ole2.c.
Referenced by OLEMenu_InstallHooks().
Definition at line 1546 of file ole2.c.
Referenced by OLEMenu_FindMainMenuIndex(), and OLEMenu_SetIsServerMenu().
Definition at line 1733 of file ole2.c.
Referenced by OLEMenu_InstallHooks().
Definition at line 1431 of file ole2.c.
Referenced by OleSetMenuDescriptor().
|
static |
Definition at line 1523 of file ole2.c.
Referenced by OLEMenu_CallWndProc(), OLEMenu_GetMsgProc(), and OleSetMenuDescriptor().
|
static |
Definition at line 1589 of file ole2.c.
Referenced by OLEMenu_CallWndProc().
Definition at line 1481 of file ole2.c.
Referenced by OleSetMenuDescriptor().
Definition at line 2839 of file ole2.c.
HRESULT WINAPI OleQueryLinkFromData | ( | IDataObject * | pSrcDataObject | ) |
Definition at line 1125 of file ole2.c.
Referenced by DefaultHandler_EnumVerbs(), and SEALED_::IOleObject::EnumVerbs().
Definition at line 864 of file ole2.c.
Referenced by DefaultHandler_GetMiscStatus(), SEALED_::IOleObject::GetMiscStatus(), and test_OleRegGetMiscStatus().
Definition at line 678 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 1205 of file ole2.c.
Referenced by OleCreate(), START_TEST(), and test_OleRun().
HRESULT WINAPI OleSave | ( | LPPERSISTSTORAGE | pPS, |
LPSTORAGE | pStg, | ||
BOOL | fSameAsLoad | ||
) |
Definition at line 1338 of file ole2.c.
Definition at line 2731 of file ole2.c.
Referenced by test_OleDoAutoConvert().
Definition at line 1168 of file ole2.c.
Referenced by InitWebBrowser().
HRESULT WINAPI OleSetMenuDescriptor | ( | HOLEMENU | hOleMenu, |
HWND | hwndFrame, | ||
HWND | hwndActiveObject, | ||
LPOLEINPLACEFRAME | lpFrame, | ||
LPOLEINPLACEACTIVEOBJECT | lpActiveObject | ||
) |
Definition at line 1875 of file ole2.c.
Referenced by test_ole_menu().
HRESULT WINAPI OleTranslateAccelerator | ( | LPOLEINPLACEFRAME | lpFrame, |
LPOLEINPLACEFRAMEINFO | lpFrameInfo, | ||
LPMSG | lpmsg | ||
) |
Definition at line 2592 of file ole2.c.
void WINAPI DECLSPEC_HOTPATCH OleUninitialize | ( | void | ) |
Definition at line 230 of file ole2.c.
Referenced by _tWinMain(), adv_install(), BrowserThreadProc(), CDesktopThread::DesktopThreadProc(), display_cpl_sheets(), do_enum(), GetFileName95(), hook_proc(), 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(), and OleInit::~OleInit().
Definition at line 2526 of file ole2.c.
Referenced by OleRegGetMiscStatus().
Definition at line 2882 of file ole2.c.
Referenced by PropVariantClear(), and PropVariantCopy().
Definition at line 2968 of file ole2.c.
Referenced by check_tiff_format(), compare_metadata(), destroy_format(), free_header(), FreePropVariantArray(), GdipGetAllPropertyItems(), GdipGetPropertyItem(), GdipGetPropertyItemSize(), GdipGetPropertySize(), get_bool_property(), get_next_reader(), get_property(), get_token(), get_ulong_by_index(), MetadataHandler_FreeItems(), MimeBody_GetProp(), MMDevice_Create(), MMDevice_GetPropValue(), mqr_GetMetadataByName(), on_mime_message_available(), PersistFile_Save(), png_metadata_reader(), PropertyStorage_PropertyDestroy(), PropertyStorage_ReadFromStream(), PropertyStorage_StorePropWithId(), PropertyStore_SetValue(), PropertyStore_SetValueAndState(), PropVariantCompareEx(), set_driver_prop_value(), test_BodyDeleteProp(), test_convert(), test_copy(), test_CreateMessage(), test_deviceinterface(), test_first_device(), test_InitPropVariantFromBuffer(), test_InitPropVariantFromCLSID(), test_intconversions(), test_MessageGetPropInfo(), test_MessageOptions(), test_MessageSetProp(), test_metadata_APE(), test_metadata_cHRM(), test_metadata_gAMA(), test_metadata_gif(), test_metadata_GIF_comment(), test_metadata_IFD(), test_metadata_tEXt(), test_metadata_unknown(), test_propertystore(), test_propertytovariant(), test_PropVariantChangeType_LPWSTR(), test_PropVariantToBuffer(), test_PropVariantToDouble(), test_PropVariantToGUID(), test_PropVariantToString(), test_PropVariantToStringAlloc(), test_queryreader(), test_validtypes(), testCodepage(), and testPropsHelper().
Definition at line 3086 of file ole2.c.
Referenced by IPropertyStorage_fnWriteMultiple(), MetadataHandler_GetValue(), MetadataHandler_GetValueByIndex(), MetadataHandlerEnum_Next(), MimeBody_SetProp(), PropertyStorage_PropVariantCopy(), PropertyStore_GetValue(), PropertyStore_GetValueAndState(), PropertyStore_SetValue(), PropertyStore_SetValueAndState(), PropVariantChangeType(), PropVariantCopy(), test_copy(), and test_validtypes().
Definition at line 557 of file ole2.c.
Referenced by DesktopShellView::InitDragDrop(), ShellBrowser::InitDragDrop(), CDefView::OnCreate(), SHRegisterDragDrop(), test_DoDragDrop(), and test_Register_Revoke().
Definition at line 2033 of file ole2.c.
Referenced by CDefViewBckgrndMenu::_bCanPaste(), CRecyclerDropTarget::_DoDeleteDataObject(), CFSDropTarget::_DoDrop(), CopyBindInfo(), DataCache_UpdateCache(), DataCacheEntry_Destroy(), DataCacheEntry_DiscardData(), DataCacheEntry_SetData(), CFSDropTarget::DragEnter(), CSendToZip::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(), CDrvDefExt::Initialize(), BtrfsContextMenu::Initialize(), BtrfsPropSheet::Initialize(), BtrfsVolPropSheet::Initialize(), CShellLink::Initialize(), CFileDefExt::Initialize(), CZipFolder::Initialize(), CLayerUIPropPage::Initialize(), InvokeObjectPickerDialog(), InvokeRemoteRegistryPickerDialog(), load_emf(), ME_DrawOLE(), 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(), TestDefaultFormat(), TestSetAndGetExtraFormat(), BtrfsContextMenu::~BtrfsContextMenu(), BtrfsPropSheet::~BtrfsPropSheet(), BtrfsVolPropSheet::~BtrfsVolPropSheet(), CIDLDataObj::~CIDLDataObj(), IDataObjectImpl::~IDataObjectImpl(), and PIDList::~PIDList().
Definition at line 639 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 518 of file ole2.c.
Referenced by RegisterDragDrop().
|
static |
Definition at line 507 of file ole2.c.
Referenced by WrapDropTarget().
Definition at line 123 of file ole2.c.
Referenced by OleRegGetUserType(), and OLEUTL_ReadRegistryDWORDValue().
|
static |
Definition at line 1082 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 120 of file ole2.c.
Referenced by get_droptarget_handle(), RegisterDragDrop(), and RevokeDragDrop().
Definition at line 116 of file ole2.c.
Referenced by get_target_from_wrapper(), RegisterDragDrop(), and RevokeDragDrop().
Definition at line 112 of file ole2.c.
Referenced by OLEMenu_CallWndProc(), OLEMenu_GetMsgProc(), and OleSetMenuDescriptor().