23#define WIN32_NO_STATUS
24#define WIN32_LEAN_AND_MEAN
35 const IRichEditOleCallbackVtbl *
vtbl;
78 static const WCHAR template[] = {
'R',
'E',
'O',
'L',
'E',
'_',
'%',
'u',
'\0'};
89 LPOLEINPLACEFRAME *lplpFrame,
90 LPOLEINPLACEUIWINDOW *lplpDoc,
91 LPOLEINPLACEFRAMEINFO lpFrameInfo)
93 WINE_FIXME(
"(%p, %p, %p, %p) stub\n",
This, lplpFrame, lplpDoc, lpFrameInfo);
126 CLIPFORMAT *lpcfFormat,
132 This, lpdataobj, lpcfFormat, reco, fReally, hMetaPict);
150 WINE_TRACE(
"(%p, %p, %x, %p)\n",
This, lpchrg, reco, lplpdataobj);
160 WINE_TRACE(
"(%p, %d, %x, %p)\n",
This, fDrag, grfKeyState, pdwEffect);
162 *pdwEffect = DROPEFFECT_COPY;
177 This, seltype, lpoleobj, lpchrg, lphmenu);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define STDMETHODCALLTYPE
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
HRESULT WINAPI StgCreateDocfile(LPCOLESTR pwcsName, DWORD grfMode, DWORD reserved, IStorage **ppstgOpen)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define STGM_SHARE_EXCLUSIVE
#define STGM_DELETEONRELEASE
interface IStorage * LPSTORAGE
interface IDataObject * LPDATAOBJECT
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_ContextSensitiveHelp(IRichEditOleCallback *This, BOOL fEnterMode)
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_QueryInterface(IRichEditOleCallback *This, REFIID riid, void **ppvObject)
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_GetDragDropEffect(IRichEditOleCallback *This, BOOL fDrag, DWORD grfKeyState, LPDWORD pdwEffect)
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_GetInPlaceContext(IRichEditOleCallback *This, LPOLEINPLACEFRAME *lplpFrame, LPOLEINPLACEUIWINDOW *lplpDoc, LPOLEINPLACEFRAMEINFO lpFrameInfo)
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_GetNewStorage(IRichEditOleCallback *This, LPSTORAGE *lplpstg)
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_DeleteObject(IRichEditOleCallback *This, LPOLEOBJECT lpoleobj)
HRESULT setup_richedit_olecallback(HWND hEditorWnd)
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_ShowContainerUI(IRichEditOleCallback *This, BOOL fShow)
struct IRichEditOleCallbackImpl olecallback
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_GetContextMenu(IRichEditOleCallback *This, WORD seltype, LPOLEOBJECT lpoleobj, CHARRANGE *lpchrg, HMENU *lphmenu)
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_QueryAcceptData(IRichEditOleCallback *This, LPDATAOBJECT lpdataobj, CLIPFORMAT *lpcfFormat, DWORD reco, BOOL fReally, HGLOBAL hMetaPict)
static ULONG STDMETHODCALLTYPE RichEditOleCallback_Release(IRichEditOleCallback *This)
static ULONG STDMETHODCALLTYPE RichEditOleCallback_AddRef(IRichEditOleCallback *This)
struct IRichEditOleCallbackVtbl olecallbackVtbl
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_GetClipboardData(IRichEditOleCallback *This, CHARRANGE *lpchrg, DWORD reco, LPDATAOBJECT *lplpdataobj)
static HRESULT STDMETHODCALLTYPE RichEditOleCallback_QueryInsertObject(IRichEditOleCallback *This, LPCLSID lpclsid, LPSTORAGE lpstg, LONG cp)
#define IsEqualIID(riid1, riid2)
#define EM_SETOLECALLBACK
static __inline const char * wine_dbgstr_guid(const GUID *id)
const IRichEditOleCallbackVtbl * vtbl
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
int WINAPIV wsprintfW(_Out_ LPWSTR, _In_ _Printf_format_string_ LPCWSTR,...)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
#define MAKEINTRESOURCEW(i)
HMENU WINAPI LoadMenuW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)