OleIdl.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:143k
- /* [in] */ LPOLESTR pszItem,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvStorage) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsRunning(
- /* [in] */ LPOLESTR pszItem) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleItemContainerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleItemContainer * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleItemContainer * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleItemContainer * This);
-
- HRESULT ( STDMETHODCALLTYPE *ParseDisplayName )(
- IOleItemContainer * This,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ LPOLESTR pszDisplayName,
- /* [out] */ ULONG *pchEaten,
- /* [out] */ IMoniker **ppmkOut);
-
- HRESULT ( STDMETHODCALLTYPE *EnumObjects )(
- IOleItemContainer * This,
- /* [in] */ DWORD grfFlags,
- /* [out] */ IEnumUnknown **ppenum);
-
- HRESULT ( STDMETHODCALLTYPE *LockContainer )(
- IOleItemContainer * This,
- /* [in] */ BOOL fLock);
-
- HRESULT ( STDMETHODCALLTYPE *GetObject )(
- IOleItemContainer * This,
- /* [in] */ LPOLESTR pszItem,
- /* [in] */ DWORD dwSpeedNeeded,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- HRESULT ( STDMETHODCALLTYPE *GetObjectStorage )(
- IOleItemContainer * This,
- /* [in] */ LPOLESTR pszItem,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvStorage);
-
- HRESULT ( STDMETHODCALLTYPE *IsRunning )(
- IOleItemContainer * This,
- /* [in] */ LPOLESTR pszItem);
-
- END_INTERFACE
- } IOleItemContainerVtbl;
- interface IOleItemContainer
- {
- CONST_VTBL struct IOleItemContainerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleItemContainer_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleItemContainer_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleItemContainer_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleItemContainer_ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
- (This)->lpVtbl -> ParseDisplayName(This,pbc,pszDisplayName,pchEaten,ppmkOut)
- #define IOleItemContainer_EnumObjects(This,grfFlags,ppenum)
- (This)->lpVtbl -> EnumObjects(This,grfFlags,ppenum)
- #define IOleItemContainer_LockContainer(This,fLock)
- (This)->lpVtbl -> LockContainer(This,fLock)
- #define IOleItemContainer_GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject)
- (This)->lpVtbl -> GetObject(This,pszItem,dwSpeedNeeded,pbc,riid,ppvObject)
- #define IOleItemContainer_GetObjectStorage(This,pszItem,pbc,riid,ppvStorage)
- (This)->lpVtbl -> GetObjectStorage(This,pszItem,pbc,riid,ppvStorage)
- #define IOleItemContainer_IsRunning(This,pszItem)
- (This)->lpVtbl -> IsRunning(This,pszItem)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleItemContainer_GetObject_Proxy(
- IOleItemContainer * This,
- /* [in] */ LPOLESTR pszItem,
- /* [in] */ DWORD dwSpeedNeeded,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
- void __RPC_STUB IOleItemContainer_GetObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleItemContainer_GetObjectStorage_Proxy(
- IOleItemContainer * This,
- /* [in] */ LPOLESTR pszItem,
- /* [unique][in] */ IBindCtx *pbc,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvStorage);
- void __RPC_STUB IOleItemContainer_GetObjectStorage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleItemContainer_IsRunning_Proxy(
- IOleItemContainer * This,
- /* [in] */ LPOLESTR pszItem);
- void __RPC_STUB IOleItemContainer_IsRunning_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleItemContainer_INTERFACE_DEFINED__ */
- #ifndef __IOleInPlaceUIWindow_INTERFACE_DEFINED__
- #define __IOleInPlaceUIWindow_INTERFACE_DEFINED__
- /* interface IOleInPlaceUIWindow */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW;
- typedef RECT BORDERWIDTHS;
- typedef LPRECT LPBORDERWIDTHS;
- typedef LPCRECT LPCBORDERWIDTHS;
- EXTERN_C const IID IID_IOleInPlaceUIWindow;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000115-0000-0000-C000-000000000046")
- IOleInPlaceUIWindow : public IOleWindow
- {
- public:
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE GetBorder(
- /* [out] */ LPRECT lprectBorder) = 0;
-
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE RequestBorderSpace(
- /* [unique][in] */ LPCBORDERWIDTHS pborderwidths) = 0;
-
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE SetBorderSpace(
- /* [unique][in] */ LPCBORDERWIDTHS pborderwidths) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetActiveObject(
- /* [unique][in] */ IOleInPlaceActiveObject *pActiveObject,
- /* [unique][string][in] */ LPCOLESTR pszObjName) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleInPlaceUIWindowVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleInPlaceUIWindow * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleInPlaceUIWindow * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleInPlaceUIWindow * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
- IOleInPlaceUIWindow * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
- IOleInPlaceUIWindow * This,
- /* [in] */ BOOL fEnterMode);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetBorder )(
- IOleInPlaceUIWindow * This,
- /* [out] */ LPRECT lprectBorder);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *RequestBorderSpace )(
- IOleInPlaceUIWindow * This,
- /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetBorderSpace )(
- IOleInPlaceUIWindow * This,
- /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
-
- HRESULT ( STDMETHODCALLTYPE *SetActiveObject )(
- IOleInPlaceUIWindow * This,
- /* [unique][in] */ IOleInPlaceActiveObject *pActiveObject,
- /* [unique][string][in] */ LPCOLESTR pszObjName);
-
- END_INTERFACE
- } IOleInPlaceUIWindowVtbl;
- interface IOleInPlaceUIWindow
- {
- CONST_VTBL struct IOleInPlaceUIWindowVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleInPlaceUIWindow_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleInPlaceUIWindow_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleInPlaceUIWindow_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleInPlaceUIWindow_GetWindow(This,phwnd)
- (This)->lpVtbl -> GetWindow(This,phwnd)
- #define IOleInPlaceUIWindow_ContextSensitiveHelp(This,fEnterMode)
- (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
- #define IOleInPlaceUIWindow_GetBorder(This,lprectBorder)
- (This)->lpVtbl -> GetBorder(This,lprectBorder)
- #define IOleInPlaceUIWindow_RequestBorderSpace(This,pborderwidths)
- (This)->lpVtbl -> RequestBorderSpace(This,pborderwidths)
- #define IOleInPlaceUIWindow_SetBorderSpace(This,pborderwidths)
- (This)->lpVtbl -> SetBorderSpace(This,pborderwidths)
- #define IOleInPlaceUIWindow_SetActiveObject(This,pActiveObject,pszObjName)
- (This)->lpVtbl -> SetActiveObject(This,pActiveObject,pszObjName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_GetBorder_Proxy(
- IOleInPlaceUIWindow * This,
- /* [out] */ LPRECT lprectBorder);
- void __RPC_STUB IOleInPlaceUIWindow_GetBorder_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_RequestBorderSpace_Proxy(
- IOleInPlaceUIWindow * This,
- /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
- void __RPC_STUB IOleInPlaceUIWindow_RequestBorderSpace_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_SetBorderSpace_Proxy(
- IOleInPlaceUIWindow * This,
- /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
- void __RPC_STUB IOleInPlaceUIWindow_SetBorderSpace_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_SetActiveObject_Proxy(
- IOleInPlaceUIWindow * This,
- /* [unique][in] */ IOleInPlaceActiveObject *pActiveObject,
- /* [unique][string][in] */ LPCOLESTR pszObjName);
- void __RPC_STUB IOleInPlaceUIWindow_SetActiveObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleInPlaceUIWindow_INTERFACE_DEFINED__ */
- #ifndef __IOleInPlaceActiveObject_INTERFACE_DEFINED__
- #define __IOleInPlaceActiveObject_INTERFACE_DEFINED__
- /* interface IOleInPlaceActiveObject */
- /* [uuid][object] */
- typedef /* [unique] */ IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT;
- EXTERN_C const IID IID_IOleInPlaceActiveObject;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000117-0000-0000-C000-000000000046")
- IOleInPlaceActiveObject : public IOleWindow
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE TranslateAccelerator(
- /* [in] */ LPMSG lpmsg) = 0;
-
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE OnFrameWindowActivate(
- /* [in] */ BOOL fActivate) = 0;
-
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE OnDocWindowActivate(
- /* [in] */ BOOL fActivate) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE ResizeBorder(
- /* [in] */ LPCRECT prcBorder,
- /* [unique][in] */ IOleInPlaceUIWindow *pUIWindow,
- /* [in] */ BOOL fFrameWindow) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnableModeless(
- /* [in] */ BOOL fEnable) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleInPlaceActiveObjectVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleInPlaceActiveObject * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleInPlaceActiveObject * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleInPlaceActiveObject * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
- IOleInPlaceActiveObject * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
- IOleInPlaceActiveObject * This,
- /* [in] */ BOOL fEnterMode);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
- IOleInPlaceActiveObject * This,
- /* [in] */ LPMSG lpmsg);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *OnFrameWindowActivate )(
- IOleInPlaceActiveObject * This,
- /* [in] */ BOOL fActivate);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *OnDocWindowActivate )(
- IOleInPlaceActiveObject * This,
- /* [in] */ BOOL fActivate);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *ResizeBorder )(
- IOleInPlaceActiveObject * This,
- /* [in] */ LPCRECT prcBorder,
- /* [unique][in] */ IOleInPlaceUIWindow *pUIWindow,
- /* [in] */ BOOL fFrameWindow);
-
- HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
- IOleInPlaceActiveObject * This,
- /* [in] */ BOOL fEnable);
-
- END_INTERFACE
- } IOleInPlaceActiveObjectVtbl;
- interface IOleInPlaceActiveObject
- {
- CONST_VTBL struct IOleInPlaceActiveObjectVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleInPlaceActiveObject_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleInPlaceActiveObject_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleInPlaceActiveObject_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleInPlaceActiveObject_GetWindow(This,phwnd)
- (This)->lpVtbl -> GetWindow(This,phwnd)
- #define IOleInPlaceActiveObject_ContextSensitiveHelp(This,fEnterMode)
- (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
- #define IOleInPlaceActiveObject_TranslateAccelerator(This,lpmsg)
- (This)->lpVtbl -> TranslateAccelerator(This,lpmsg)
- #define IOleInPlaceActiveObject_OnFrameWindowActivate(This,fActivate)
- (This)->lpVtbl -> OnFrameWindowActivate(This,fActivate)
- #define IOleInPlaceActiveObject_OnDocWindowActivate(This,fActivate)
- (This)->lpVtbl -> OnDocWindowActivate(This,fActivate)
- #define IOleInPlaceActiveObject_ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow)
- (This)->lpVtbl -> ResizeBorder(This,prcBorder,pUIWindow,fFrameWindow)
- #define IOleInPlaceActiveObject_EnableModeless(This,fEnable)
- (This)->lpVtbl -> EnableModeless(This,fEnable)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteTranslateAccelerator_Proxy(
- IOleInPlaceActiveObject * This);
- void __RPC_STUB IOleInPlaceActiveObject_RemoteTranslateAccelerator_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_OnFrameWindowActivate_Proxy(
- IOleInPlaceActiveObject * This,
- /* [in] */ BOOL fActivate);
- void __RPC_STUB IOleInPlaceActiveObject_OnFrameWindowActivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_OnDocWindowActivate_Proxy(
- IOleInPlaceActiveObject * This,
- /* [in] */ BOOL fActivate);
- void __RPC_STUB IOleInPlaceActiveObject_OnDocWindowActivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [input_sync][call_as] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteResizeBorder_Proxy(
- IOleInPlaceActiveObject * This,
- /* [in] */ LPCRECT prcBorder,
- /* [in] */ REFIID riid,
- /* [iid_is][unique][in] */ IOleInPlaceUIWindow *pUIWindow,
- /* [in] */ BOOL fFrameWindow);
- void __RPC_STUB IOleInPlaceActiveObject_RemoteResizeBorder_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_EnableModeless_Proxy(
- IOleInPlaceActiveObject * This,
- /* [in] */ BOOL fEnable);
- void __RPC_STUB IOleInPlaceActiveObject_EnableModeless_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleInPlaceActiveObject_INTERFACE_DEFINED__ */
- #ifndef __IOleInPlaceFrame_INTERFACE_DEFINED__
- #define __IOleInPlaceFrame_INTERFACE_DEFINED__
- /* interface IOleInPlaceFrame */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleInPlaceFrame *LPOLEINPLACEFRAME;
- typedef struct tagOIFI
- {
- UINT cb;
- BOOL fMDIApp;
- HWND hwndFrame;
- HACCEL haccel;
- UINT cAccelEntries;
- } OLEINPLACEFRAMEINFO;
- typedef struct tagOIFI *LPOLEINPLACEFRAMEINFO;
- typedef struct tagOleMenuGroupWidths
- {
- LONG width[ 6 ];
- } OLEMENUGROUPWIDTHS;
- typedef struct tagOleMenuGroupWidths *LPOLEMENUGROUPWIDTHS;
- typedef HGLOBAL HOLEMENU;
- EXTERN_C const IID IID_IOleInPlaceFrame;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000116-0000-0000-C000-000000000046")
- IOleInPlaceFrame : public IOleInPlaceUIWindow
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE InsertMenus(
- /* [in] */ HMENU hmenuShared,
- /* [out][in] */ LPOLEMENUGROUPWIDTHS lpMenuWidths) = 0;
-
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE SetMenu(
- /* [in] */ HMENU hmenuShared,
- /* [in] */ HOLEMENU holemenu,
- /* [in] */ HWND hwndActiveObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RemoveMenus(
- /* [in] */ HMENU hmenuShared) = 0;
-
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE SetStatusText(
- /* [unique][in] */ LPCOLESTR pszStatusText) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnableModeless(
- /* [in] */ BOOL fEnable) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
- /* [in] */ LPMSG lpmsg,
- /* [in] */ WORD wID) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleInPlaceFrameVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleInPlaceFrame * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleInPlaceFrame * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleInPlaceFrame * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
- IOleInPlaceFrame * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
- IOleInPlaceFrame * This,
- /* [in] */ BOOL fEnterMode);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetBorder )(
- IOleInPlaceFrame * This,
- /* [out] */ LPRECT lprectBorder);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *RequestBorderSpace )(
- IOleInPlaceFrame * This,
- /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetBorderSpace )(
- IOleInPlaceFrame * This,
- /* [unique][in] */ LPCBORDERWIDTHS pborderwidths);
-
- HRESULT ( STDMETHODCALLTYPE *SetActiveObject )(
- IOleInPlaceFrame * This,
- /* [unique][in] */ IOleInPlaceActiveObject *pActiveObject,
- /* [unique][string][in] */ LPCOLESTR pszObjName);
-
- HRESULT ( STDMETHODCALLTYPE *InsertMenus )(
- IOleInPlaceFrame * This,
- /* [in] */ HMENU hmenuShared,
- /* [out][in] */ LPOLEMENUGROUPWIDTHS lpMenuWidths);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetMenu )(
- IOleInPlaceFrame * This,
- /* [in] */ HMENU hmenuShared,
- /* [in] */ HOLEMENU holemenu,
- /* [in] */ HWND hwndActiveObject);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveMenus )(
- IOleInPlaceFrame * This,
- /* [in] */ HMENU hmenuShared);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetStatusText )(
- IOleInPlaceFrame * This,
- /* [unique][in] */ LPCOLESTR pszStatusText);
-
- HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
- IOleInPlaceFrame * This,
- /* [in] */ BOOL fEnable);
-
- HRESULT ( STDMETHODCALLTYPE *TranslateAccelerator )(
- IOleInPlaceFrame * This,
- /* [in] */ LPMSG lpmsg,
- /* [in] */ WORD wID);
-
- END_INTERFACE
- } IOleInPlaceFrameVtbl;
- interface IOleInPlaceFrame
- {
- CONST_VTBL struct IOleInPlaceFrameVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleInPlaceFrame_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleInPlaceFrame_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleInPlaceFrame_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleInPlaceFrame_GetWindow(This,phwnd)
- (This)->lpVtbl -> GetWindow(This,phwnd)
- #define IOleInPlaceFrame_ContextSensitiveHelp(This,fEnterMode)
- (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
- #define IOleInPlaceFrame_GetBorder(This,lprectBorder)
- (This)->lpVtbl -> GetBorder(This,lprectBorder)
- #define IOleInPlaceFrame_RequestBorderSpace(This,pborderwidths)
- (This)->lpVtbl -> RequestBorderSpace(This,pborderwidths)
- #define IOleInPlaceFrame_SetBorderSpace(This,pborderwidths)
- (This)->lpVtbl -> SetBorderSpace(This,pborderwidths)
- #define IOleInPlaceFrame_SetActiveObject(This,pActiveObject,pszObjName)
- (This)->lpVtbl -> SetActiveObject(This,pActiveObject,pszObjName)
- #define IOleInPlaceFrame_InsertMenus(This,hmenuShared,lpMenuWidths)
- (This)->lpVtbl -> InsertMenus(This,hmenuShared,lpMenuWidths)
- #define IOleInPlaceFrame_SetMenu(This,hmenuShared,holemenu,hwndActiveObject)
- (This)->lpVtbl -> SetMenu(This,hmenuShared,holemenu,hwndActiveObject)
- #define IOleInPlaceFrame_RemoveMenus(This,hmenuShared)
- (This)->lpVtbl -> RemoveMenus(This,hmenuShared)
- #define IOleInPlaceFrame_SetStatusText(This,pszStatusText)
- (This)->lpVtbl -> SetStatusText(This,pszStatusText)
- #define IOleInPlaceFrame_EnableModeless(This,fEnable)
- (This)->lpVtbl -> EnableModeless(This,fEnable)
- #define IOleInPlaceFrame_TranslateAccelerator(This,lpmsg,wID)
- (This)->lpVtbl -> TranslateAccelerator(This,lpmsg,wID)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_InsertMenus_Proxy(
- IOleInPlaceFrame * This,
- /* [in] */ HMENU hmenuShared,
- /* [out][in] */ LPOLEMENUGROUPWIDTHS lpMenuWidths);
- void __RPC_STUB IOleInPlaceFrame_InsertMenus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_SetMenu_Proxy(
- IOleInPlaceFrame * This,
- /* [in] */ HMENU hmenuShared,
- /* [in] */ HOLEMENU holemenu,
- /* [in] */ HWND hwndActiveObject);
- void __RPC_STUB IOleInPlaceFrame_SetMenu_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_RemoveMenus_Proxy(
- IOleInPlaceFrame * This,
- /* [in] */ HMENU hmenuShared);
- void __RPC_STUB IOleInPlaceFrame_RemoveMenus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_SetStatusText_Proxy(
- IOleInPlaceFrame * This,
- /* [unique][in] */ LPCOLESTR pszStatusText);
- void __RPC_STUB IOleInPlaceFrame_SetStatusText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_EnableModeless_Proxy(
- IOleInPlaceFrame * This,
- /* [in] */ BOOL fEnable);
- void __RPC_STUB IOleInPlaceFrame_EnableModeless_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_TranslateAccelerator_Proxy(
- IOleInPlaceFrame * This,
- /* [in] */ LPMSG lpmsg,
- /* [in] */ WORD wID);
- void __RPC_STUB IOleInPlaceFrame_TranslateAccelerator_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleInPlaceFrame_INTERFACE_DEFINED__ */
- #ifndef __IOleInPlaceObject_INTERFACE_DEFINED__
- #define __IOleInPlaceObject_INTERFACE_DEFINED__
- /* interface IOleInPlaceObject */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleInPlaceObject *LPOLEINPLACEOBJECT;
- EXTERN_C const IID IID_IOleInPlaceObject;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000113-0000-0000-C000-000000000046")
- IOleInPlaceObject : public IOleWindow
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE InPlaceDeactivate( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UIDeactivate( void) = 0;
-
- virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE SetObjectRects(
- /* [in] */ LPCRECT lprcPosRect,
- /* [in] */ LPCRECT lprcClipRect) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ReactivateAndUndo( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleInPlaceObjectVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleInPlaceObject * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleInPlaceObject * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleInPlaceObject * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
- IOleInPlaceObject * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
- IOleInPlaceObject * This,
- /* [in] */ BOOL fEnterMode);
-
- HRESULT ( STDMETHODCALLTYPE *InPlaceDeactivate )(
- IOleInPlaceObject * This);
-
- HRESULT ( STDMETHODCALLTYPE *UIDeactivate )(
- IOleInPlaceObject * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *SetObjectRects )(
- IOleInPlaceObject * This,
- /* [in] */ LPCRECT lprcPosRect,
- /* [in] */ LPCRECT lprcClipRect);
-
- HRESULT ( STDMETHODCALLTYPE *ReactivateAndUndo )(
- IOleInPlaceObject * This);
-
- END_INTERFACE
- } IOleInPlaceObjectVtbl;
- interface IOleInPlaceObject
- {
- CONST_VTBL struct IOleInPlaceObjectVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleInPlaceObject_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleInPlaceObject_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleInPlaceObject_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleInPlaceObject_GetWindow(This,phwnd)
- (This)->lpVtbl -> GetWindow(This,phwnd)
- #define IOleInPlaceObject_ContextSensitiveHelp(This,fEnterMode)
- (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
- #define IOleInPlaceObject_InPlaceDeactivate(This)
- (This)->lpVtbl -> InPlaceDeactivate(This)
- #define IOleInPlaceObject_UIDeactivate(This)
- (This)->lpVtbl -> UIDeactivate(This)
- #define IOleInPlaceObject_SetObjectRects(This,lprcPosRect,lprcClipRect)
- (This)->lpVtbl -> SetObjectRects(This,lprcPosRect,lprcClipRect)
- #define IOleInPlaceObject_ReactivateAndUndo(This)
- (This)->lpVtbl -> ReactivateAndUndo(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleInPlaceObject_InPlaceDeactivate_Proxy(
- IOleInPlaceObject * This);
- void __RPC_STUB IOleInPlaceObject_InPlaceDeactivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceObject_UIDeactivate_Proxy(
- IOleInPlaceObject * This);
- void __RPC_STUB IOleInPlaceObject_UIDeactivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [input_sync] */ HRESULT STDMETHODCALLTYPE IOleInPlaceObject_SetObjectRects_Proxy(
- IOleInPlaceObject * This,
- /* [in] */ LPCRECT lprcPosRect,
- /* [in] */ LPCRECT lprcClipRect);
- void __RPC_STUB IOleInPlaceObject_SetObjectRects_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceObject_ReactivateAndUndo_Proxy(
- IOleInPlaceObject * This);
- void __RPC_STUB IOleInPlaceObject_ReactivateAndUndo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleInPlaceObject_INTERFACE_DEFINED__ */
- #ifndef __IOleInPlaceSite_INTERFACE_DEFINED__
- #define __IOleInPlaceSite_INTERFACE_DEFINED__
- /* interface IOleInPlaceSite */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IOleInPlaceSite *LPOLEINPLACESITE;
- EXTERN_C const IID IID_IOleInPlaceSite;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000119-0000-0000-C000-000000000046")
- IOleInPlaceSite : public IOleWindow
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CanInPlaceActivate( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivate( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnUIActivate( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetWindowContext(
- /* [out] */ IOleInPlaceFrame **ppFrame,
- /* [out] */ IOleInPlaceUIWindow **ppDoc,
- /* [out] */ LPRECT lprcPosRect,
- /* [out] */ LPRECT lprcClipRect,
- /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Scroll(
- /* [in] */ SIZE scrollExtant) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnUIDeactivate(
- /* [in] */ BOOL fUndoable) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivate( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DiscardUndoState( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DeactivateAndUndo( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnPosRectChange(
- /* [in] */ LPCRECT lprcPosRect) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOleInPlaceSiteVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOleInPlaceSite * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOleInPlaceSite * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOleInPlaceSite * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
- IOleInPlaceSite * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *ContextSensitiveHelp )(
- IOleInPlaceSite * This,
- /* [in] */ BOOL fEnterMode);
-
- HRESULT ( STDMETHODCALLTYPE *CanInPlaceActivate )(
- IOleInPlaceSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnInPlaceActivate )(
- IOleInPlaceSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnUIActivate )(
- IOleInPlaceSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetWindowContext )(
- IOleInPlaceSite * This,
- /* [out] */ IOleInPlaceFrame **ppFrame,
- /* [out] */ IOleInPlaceUIWindow **ppDoc,
- /* [out] */ LPRECT lprcPosRect,
- /* [out] */ LPRECT lprcClipRect,
- /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
-
- HRESULT ( STDMETHODCALLTYPE *Scroll )(
- IOleInPlaceSite * This,
- /* [in] */ SIZE scrollExtant);
-
- HRESULT ( STDMETHODCALLTYPE *OnUIDeactivate )(
- IOleInPlaceSite * This,
- /* [in] */ BOOL fUndoable);
-
- HRESULT ( STDMETHODCALLTYPE *OnInPlaceDeactivate )(
- IOleInPlaceSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *DiscardUndoState )(
- IOleInPlaceSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *DeactivateAndUndo )(
- IOleInPlaceSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnPosRectChange )(
- IOleInPlaceSite * This,
- /* [in] */ LPCRECT lprcPosRect);
-
- END_INTERFACE
- } IOleInPlaceSiteVtbl;
- interface IOleInPlaceSite
- {
- CONST_VTBL struct IOleInPlaceSiteVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOleInPlaceSite_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOleInPlaceSite_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOleInPlaceSite_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOleInPlaceSite_GetWindow(This,phwnd)
- (This)->lpVtbl -> GetWindow(This,phwnd)
- #define IOleInPlaceSite_ContextSensitiveHelp(This,fEnterMode)
- (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)
- #define IOleInPlaceSite_CanInPlaceActivate(This)
- (This)->lpVtbl -> CanInPlaceActivate(This)
- #define IOleInPlaceSite_OnInPlaceActivate(This)
- (This)->lpVtbl -> OnInPlaceActivate(This)
- #define IOleInPlaceSite_OnUIActivate(This)
- (This)->lpVtbl -> OnUIActivate(This)
- #define IOleInPlaceSite_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
- (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)
- #define IOleInPlaceSite_Scroll(This,scrollExtant)
- (This)->lpVtbl -> Scroll(This,scrollExtant)
- #define IOleInPlaceSite_OnUIDeactivate(This,fUndoable)
- (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)
- #define IOleInPlaceSite_OnInPlaceDeactivate(This)
- (This)->lpVtbl -> OnInPlaceDeactivate(This)
- #define IOleInPlaceSite_DiscardUndoState(This)
- (This)->lpVtbl -> DiscardUndoState(This)
- #define IOleInPlaceSite_DeactivateAndUndo(This)
- (This)->lpVtbl -> DeactivateAndUndo(This)
- #define IOleInPlaceSite_OnPosRectChange(This,lprcPosRect)
- (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_CanInPlaceActivate_Proxy(
- IOleInPlaceSite * This);
- void __RPC_STUB IOleInPlaceSite_CanInPlaceActivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnInPlaceActivate_Proxy(
- IOleInPlaceSite * This);
- void __RPC_STUB IOleInPlaceSite_OnInPlaceActivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnUIActivate_Proxy(
- IOleInPlaceSite * This);
- void __RPC_STUB IOleInPlaceSite_OnUIActivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_GetWindowContext_Proxy(
- IOleInPlaceSite * This,
- /* [out] */ IOleInPlaceFrame **ppFrame,
- /* [out] */ IOleInPlaceUIWindow **ppDoc,
- /* [out] */ LPRECT lprcPosRect,
- /* [out] */ LPRECT lprcClipRect,
- /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
- void __RPC_STUB IOleInPlaceSite_GetWindowContext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_Scroll_Proxy(
- IOleInPlaceSite * This,
- /* [in] */ SIZE scrollExtant);
- void __RPC_STUB IOleInPlaceSite_Scroll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnUIDeactivate_Proxy(
- IOleInPlaceSite * This,
- /* [in] */ BOOL fUndoable);
- void __RPC_STUB IOleInPlaceSite_OnUIDeactivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnInPlaceDeactivate_Proxy(
- IOleInPlaceSite * This);
- void __RPC_STUB IOleInPlaceSite_OnInPlaceDeactivate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_DiscardUndoState_Proxy(
- IOleInPlaceSite * This);
- void __RPC_STUB IOleInPlaceSite_DiscardUndoState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_DeactivateAndUndo_Proxy(
- IOleInPlaceSite * This);
- void __RPC_STUB IOleInPlaceSite_DeactivateAndUndo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnPosRectChange_Proxy(
- IOleInPlaceSite * This,
- /* [in] */ LPCRECT lprcPosRect);
- void __RPC_STUB IOleInPlaceSite_OnPosRectChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOleInPlaceSite_INTERFACE_DEFINED__ */
- #ifndef __IContinue_INTERFACE_DEFINED__
- #define __IContinue_INTERFACE_DEFINED__
- /* interface IContinue */
- /* [uuid][object] */
- EXTERN_C const IID IID_IContinue;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000012a-0000-0000-C000-000000000046")
- IContinue : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE FContinue( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IContinueVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IContinue * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IContinue * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IContinue * This);
-
- HRESULT ( STDMETHODCALLTYPE *FContinue )(
- IContinue * This);
-
- END_INTERFACE
- } IContinueVtbl;
- interface IContinue
- {
- CONST_VTBL struct IContinueVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IContinue_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IContinue_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IContinue_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IContinue_FContinue(This)
- (This)->lpVtbl -> FContinue(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IContinue_FContinue_Proxy(
- IContinue * This);
- void __RPC_STUB IContinue_FContinue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IContinue_INTERFACE_DEFINED__ */
- #ifndef __IViewObject_INTERFACE_DEFINED__
- #define __IViewObject_INTERFACE_DEFINED__
- /* interface IViewObject */
- /* [uuid][object] */
- typedef /* [unique] */ IViewObject *LPVIEWOBJECT;
- EXTERN_C const IID IID_IViewObject;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0000010d-0000-0000-C000-000000000046")
- IViewObject : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Draw(
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ HDC hdcTargetDev,
- /* [in] */ HDC hdcDraw,
- /* [in] */ LPCRECTL lprcBounds,
- /* [unique][in] */ LPCRECTL lprcWBounds,
- /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
- ULONG_PTR dwContinue),
- /* [in] */ ULONG_PTR dwContinue) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetColorSet(
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ HDC hicTargetDev,
- /* [out] */ LOGPALETTE **ppColorSet) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Freeze(
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [out] */ DWORD *pdwFreeze) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unfreeze(
- /* [in] */ DWORD dwFreeze) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetAdvise(
- /* [in] */ DWORD aspects,
- /* [in] */ DWORD advf,
- /* [unique][in] */ IAdviseSink *pAdvSink) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetAdvise(
- /* [unique][out] */ DWORD *pAspects,
- /* [unique][out] */ DWORD *pAdvf,
- /* [out] */ IAdviseSink **ppAdvSink) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IViewObjectVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IViewObject * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IViewObject * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IViewObject * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Draw )(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ HDC hdcTargetDev,
- /* [in] */ HDC hdcDraw,
- /* [in] */ LPCRECTL lprcBounds,
- /* [unique][in] */ LPCRECTL lprcWBounds,
- /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
- ULONG_PTR dwContinue),
- /* [in] */ ULONG_PTR dwContinue);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetColorSet )(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ HDC hicTargetDev,
- /* [out] */ LOGPALETTE **ppColorSet);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Freeze )(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [out] */ DWORD *pdwFreeze);
-
- HRESULT ( STDMETHODCALLTYPE *Unfreeze )(
- IViewObject * This,
- /* [in] */ DWORD dwFreeze);
-
- HRESULT ( STDMETHODCALLTYPE *SetAdvise )(
- IViewObject * This,
- /* [in] */ DWORD aspects,
- /* [in] */ DWORD advf,
- /* [unique][in] */ IAdviseSink *pAdvSink);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetAdvise )(
- IViewObject * This,
- /* [unique][out] */ DWORD *pAspects,
- /* [unique][out] */ DWORD *pAdvf,
- /* [out] */ IAdviseSink **ppAdvSink);
-
- END_INTERFACE
- } IViewObjectVtbl;
- interface IViewObject
- {
- CONST_VTBL struct IViewObjectVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IViewObject_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IViewObject_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IViewObject_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IViewObject_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
- (This)->lpVtbl -> Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
- #define IViewObject_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
- (This)->lpVtbl -> GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
- #define IViewObject_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
- (This)->lpVtbl -> Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
- #define IViewObject_Unfreeze(This,dwFreeze)
- (This)->lpVtbl -> Unfreeze(This,dwFreeze)
- #define IViewObject_SetAdvise(This,aspects,advf,pAdvSink)
- (This)->lpVtbl -> SetAdvise(This,aspects,advf,pAdvSink)
- #define IViewObject_GetAdvise(This,pAspects,pAdvf,ppAdvSink)
- (This)->lpVtbl -> GetAdvise(This,pAspects,pAdvf,ppAdvSink)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_RemoteDraw_Proxy(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [in] */ ULONG_PTR pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ ULONG_PTR hdcTargetDev,
- /* [in] */ ULONG_PTR hdcDraw,
- /* [in] */ LPCRECTL lprcBounds,
- /* [unique][in] */ LPCRECTL lprcWBounds,
- /* [in] */ IContinue *pContinue);
- void __RPC_STUB IViewObject_RemoteDraw_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetColorSet_Proxy(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [in] */ ULONG_PTR pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ ULONG_PTR hicTargetDev,
- /* [out] */ LOGPALETTE **ppColorSet);
- void __RPC_STUB IViewObject_RemoteGetColorSet_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_RemoteFreeze_Proxy(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [in] */ ULONG_PTR pvAspect,
- /* [out] */ DWORD *pdwFreeze);
- void __RPC_STUB IViewObject_RemoteFreeze_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IViewObject_Unfreeze_Proxy(
- IViewObject * This,
- /* [in] */ DWORD dwFreeze);
- void __RPC_STUB IViewObject_Unfreeze_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IViewObject_SetAdvise_Proxy(
- IViewObject * This,
- /* [in] */ DWORD aspects,
- /* [in] */ DWORD advf,
- /* [unique][in] */ IAdviseSink *pAdvSink);
- void __RPC_STUB IViewObject_SetAdvise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetAdvise_Proxy(
- IViewObject * This,
- /* [out] */ DWORD *pAspects,
- /* [out] */ DWORD *pAdvf,
- /* [out] */ IAdviseSink **ppAdvSink);
- void __RPC_STUB IViewObject_RemoteGetAdvise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IViewObject_INTERFACE_DEFINED__ */
- #ifndef __IViewObject2_INTERFACE_DEFINED__
- #define __IViewObject2_INTERFACE_DEFINED__
- /* interface IViewObject2 */
- /* [uuid][object] */
- typedef /* [unique] */ IViewObject2 *LPVIEWOBJECT2;
- EXTERN_C const IID IID_IViewObject2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000127-0000-0000-C000-000000000046")
- IViewObject2 : public IViewObject
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetExtent(
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [out] */ LPSIZEL lpsizel) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IViewObject2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IViewObject2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IViewObject2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IViewObject2 * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Draw )(
- IViewObject2 * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ HDC hdcTargetDev,
- /* [in] */ HDC hdcDraw,
- /* [in] */ LPCRECTL lprcBounds,
- /* [unique][in] */ LPCRECTL lprcWBounds,
- /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
- ULONG_PTR dwContinue),
- /* [in] */ ULONG_PTR dwContinue);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetColorSet )(
- IViewObject2 * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ HDC hicTargetDev,
- /* [out] */ LOGPALETTE **ppColorSet);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Freeze )(
- IViewObject2 * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [out] */ DWORD *pdwFreeze);
-
- HRESULT ( STDMETHODCALLTYPE *Unfreeze )(
- IViewObject2 * This,
- /* [in] */ DWORD dwFreeze);
-
- HRESULT ( STDMETHODCALLTYPE *SetAdvise )(
- IViewObject2 * This,
- /* [in] */ DWORD aspects,
- /* [in] */ DWORD advf,
- /* [unique][in] */ IAdviseSink *pAdvSink);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetAdvise )(
- IViewObject2 * This,
- /* [unique][out] */ DWORD *pAspects,
- /* [unique][out] */ DWORD *pAdvf,
- /* [out] */ IAdviseSink **ppAdvSink);
-
- HRESULT ( STDMETHODCALLTYPE *GetExtent )(
- IViewObject2 * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [out] */ LPSIZEL lpsizel);
-
- END_INTERFACE
- } IViewObject2Vtbl;
- interface IViewObject2
- {
- CONST_VTBL struct IViewObject2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IViewObject2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IViewObject2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IViewObject2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IViewObject2_Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
- (This)->lpVtbl -> Draw(This,dwDrawAspect,lindex,pvAspect,ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,dwContinue)
- #define IViewObject2_GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
- (This)->lpVtbl -> GetColorSet(This,dwDrawAspect,lindex,pvAspect,ptd,hicTargetDev,ppColorSet)
- #define IViewObject2_Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
- (This)->lpVtbl -> Freeze(This,dwDrawAspect,lindex,pvAspect,pdwFreeze)
- #define IViewObject2_Unfreeze(This,dwFreeze)
- (This)->lpVtbl -> Unfreeze(This,dwFreeze)
- #define IViewObject2_SetAdvise(This,aspects,advf,pAdvSink)
- (This)->lpVtbl -> SetAdvise(This,aspects,advf,pAdvSink)
- #define IViewObject2_GetAdvise(This,pAspects,pAdvf,ppAdvSink)
- (This)->lpVtbl -> GetAdvise(This,pAspects,pAdvf,ppAdvSink)
- #define IViewObject2_GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
- (This)->lpVtbl -> GetExtent(This,dwDrawAspect,lindex,ptd,lpsizel)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IViewObject2_GetExtent_Proxy(
- IViewObject2 * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [out] */ LPSIZEL lpsizel);
- void __RPC_STUB IViewObject2_GetExtent_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IViewObject2_INTERFACE_DEFINED__ */
- #ifndef __IDropSource_INTERFACE_DEFINED__
- #define __IDropSource_INTERFACE_DEFINED__
- /* interface IDropSource */
- /* [uuid][object][local] */
- typedef /* [unique] */ IDropSource *LPDROPSOURCE;
- EXTERN_C const IID IID_IDropSource;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000121-0000-0000-C000-000000000046")
- IDropSource : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE QueryContinueDrag(
- /* [in] */ BOOL fEscapePressed,
- /* [in] */ DWORD grfKeyState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GiveFeedback(
- /* [in] */ DWORD dwEffect) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IDropSourceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IDropSource * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IDropSource * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IDropSource * This);
-
- HRESULT ( STDMETHODCALLTYPE *QueryContinueDrag )(
- IDropSource * This,
- /* [in] */ BOOL fEscapePressed,
- /* [in] */ DWORD grfKeyState);
-
- HRESULT ( STDMETHODCALLTYPE *GiveFeedback )(
- IDropSource * This,
- /* [in] */ DWORD dwEffect);
-
- END_INTERFACE
- } IDropSourceVtbl;
- interface IDropSource
- {
- CONST_VTBL struct IDropSourceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IDropSource_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IDropSource_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IDropSource_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IDropSource_QueryContinueDrag(This,fEscapePressed,grfKeyState)
- (This)->lpVtbl -> QueryContinueDrag(This,fEscapePressed,grfKeyState)
- #define IDropSource_GiveFeedback(This,dwEffect)
- (This)->lpVtbl -> GiveFeedback(This,dwEffect)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IDropSource_QueryContinueDrag_Proxy(
- IDropSource * This,
- /* [in] */ BOOL fEscapePressed,
- /* [in] */ DWORD grfKeyState);
- void __RPC_STUB IDropSource_QueryContinueDrag_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IDropSource_GiveFeedback_Proxy(
- IDropSource * This,
- /* [in] */ DWORD dwEffect);
- void __RPC_STUB IDropSource_GiveFeedback_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IDropSource_INTERFACE_DEFINED__ */
- #ifndef __IDropTarget_INTERFACE_DEFINED__
- #define __IDropTarget_INTERFACE_DEFINED__
- /* interface IDropTarget */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IDropTarget *LPDROPTARGET;
- #define MK_ALT ( 0x20 )
- #define DROPEFFECT_NONE ( 0 )
- #define DROPEFFECT_COPY ( 1 )
- #define DROPEFFECT_MOVE ( 2 )
- #define DROPEFFECT_LINK ( 4 )
- #define DROPEFFECT_SCROLL ( 0x80000000 )
- // default inset-width of the hot zone, in pixels
- // typical use: GetProfileInt("windows","DragScrollInset",DD_DEFSCROLLINSET)
- #define DD_DEFSCROLLINSET ( 11 )
- // default delay before scrolling, in milliseconds
- // typical use: GetProfileInt("windows","DragScrollDelay",DD_DEFSCROLLDELAY)
- #define DD_DEFSCROLLDELAY ( 50 )
- // default scroll interval, in milliseconds
- // typical use: GetProfileInt("windows","DragScrollInterval", DD_DEFSCROLLINTERVAL)
- #define DD_DEFSCROLLINTERVAL ( 50 )
- // default delay before dragging should start, in milliseconds
- // typical use: GetProfileInt("windows", "DragDelay", DD_DEFDRAGDELAY)
- #define DD_DEFDRAGDELAY ( 200 )
- // default minimum distance (radius) before dragging should start, in pixels
- // typical use: GetProfileInt("windows", "DragMinDist", DD_DEFDRAGMINDIST)
- #define DD_DEFDRAGMINDIST ( 2 )
- EXTERN_C const IID IID_IDropTarget;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000122-0000-0000-C000-000000000046")
- IDropTarget : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE DragEnter(
- /* [unique][in] */ IDataObject *pDataObj,
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DragOver(
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DragLeave( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Drop(
- /* [unique][in] */ IDataObject *pDataObj,
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IDropTargetVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IDropTarget * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IDropTarget * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IDropTarget * This);
-
- HRESULT ( STDMETHODCALLTYPE *DragEnter )(
- IDropTarget * This,
- /* [unique][in] */ IDataObject *pDataObj,
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect);
-
- HRESULT ( STDMETHODCALLTYPE *DragOver )(
- IDropTarget * This,
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect);
-
- HRESULT ( STDMETHODCALLTYPE *DragLeave )(
- IDropTarget * This);
-
- HRESULT ( STDMETHODCALLTYPE *Drop )(
- IDropTarget * This,
- /* [unique][in] */ IDataObject *pDataObj,
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect);
-
- END_INTERFACE
- } IDropTargetVtbl;
- interface IDropTarget
- {
- CONST_VTBL struct IDropTargetVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IDropTarget_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IDropTarget_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IDropTarget_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IDropTarget_DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect)
- (This)->lpVtbl -> DragEnter(This,pDataObj,grfKeyState,pt,pdwEffect)
- #define IDropTarget_DragOver(This,grfKeyState,pt,pdwEffect)
- (This)->lpVtbl -> DragOver(This,grfKeyState,pt,pdwEffect)
- #define IDropTarget_DragLeave(This)
- (This)->lpVtbl -> DragLeave(This)
- #define IDropTarget_Drop(This,pDataObj,grfKeyState,pt,pdwEffect)
- (This)->lpVtbl -> Drop(This,pDataObj,grfKeyState,pt,pdwEffect)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IDropTarget_DragEnter_Proxy(
- IDropTarget * This,
- /* [unique][in] */ IDataObject *pDataObj,
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect);
- void __RPC_STUB IDropTarget_DragEnter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IDropTarget_DragOver_Proxy(
- IDropTarget * This,
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect);
- void __RPC_STUB IDropTarget_DragOver_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IDropTarget_DragLeave_Proxy(
- IDropTarget * This);
- void __RPC_STUB IDropTarget_DragLeave_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IDropTarget_Drop_Proxy(
- IDropTarget * This,
- /* [unique][in] */ IDataObject *pDataObj,
- /* [in] */ DWORD grfKeyState,
- /* [in] */ POINTL pt,
- /* [out][in] */ DWORD *pdwEffect);
- void __RPC_STUB IDropTarget_Drop_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IDropTarget_INTERFACE_DEFINED__ */
- #ifndef __IEnumOLEVERB_INTERFACE_DEFINED__
- #define __IEnumOLEVERB_INTERFACE_DEFINED__
- /* interface IEnumOLEVERB */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IEnumOLEVERB *LPENUMOLEVERB;
- typedef struct tagOLEVERB
- {
- LONG lVerb;
- LPOLESTR lpszVerbName;
- DWORD fuFlags;
- DWORD grfAttribs;
- } OLEVERB;
- typedef struct tagOLEVERB *LPOLEVERB;
- typedef /* [v1_enum] */
- enum tagOLEVERBATTRIB
- { OLEVERBATTRIB_NEVERDIRTIES = 1,
- OLEVERBATTRIB_ONCONTAINERMENU = 2
- } OLEVERBATTRIB;
- EXTERN_C const IID IID_IEnumOLEVERB;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00000104-0000-0000-C000-000000000046")
- IEnumOLEVERB : public IUnknown
- {
- public:
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ LPOLEVERB rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumOLEVERB **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumOLEVERBVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumOLEVERB * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumOLEVERB * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumOLEVERB * This);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumOLEVERB * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ LPOLEVERB rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumOLEVERB * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumOLEVERB * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumOLEVERB * This,
- /* [out] */ IEnumOLEVERB **ppenum);
-
- END_INTERFACE
- } IEnumOLEVERBVtbl;
- interface IEnumOLEVERB
- {
- CONST_VTBL struct IEnumOLEVERBVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumOLEVERB_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumOLEVERB_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumOLEVERB_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumOLEVERB_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumOLEVERB_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumOLEVERB_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumOLEVERB_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumOLEVERB_RemoteNext_Proxy(
- IEnumOLEVERB * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ LPOLEVERB rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumOLEVERB_RemoteNext_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Skip_Proxy(
- IEnumOLEVERB * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumOLEVERB_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Reset_Proxy(
- IEnumOLEVERB * This);
- void __RPC_STUB IEnumOLEVERB_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Clone_Proxy(
- IEnumOLEVERB * This,
- /* [out] */ IEnumOLEVERB **ppenum);
- void __RPC_STUB IEnumOLEVERB_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumOLEVERB_INTERFACE_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER CLIPFORMAT_UserSize( unsigned long *, unsigned long , CLIPFORMAT * );
- unsigned char * __RPC_USER CLIPFORMAT_UserMarshal( unsigned long *, unsigned char *, CLIPFORMAT * );
- unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT * );
- void __RPC_USER CLIPFORMAT_UserFree( unsigned long *, CLIPFORMAT * );
- unsigned long __RPC_USER HACCEL_UserSize( unsigned long *, unsigned long , HACCEL * );
- unsigned char * __RPC_USER HACCEL_UserMarshal( unsigned long *, unsigned char *, HACCEL * );
- unsigned char * __RPC_USER HACCEL_UserUnmarshal(unsigned long *, unsigned char *, HACCEL * );
- void __RPC_USER HACCEL_UserFree( unsigned long *, HACCEL * );
- unsigned long __RPC_USER HGLOBAL_UserSize( unsigned long *, unsigned long , HGLOBAL * );
- unsigned char * __RPC_USER HGLOBAL_UserMarshal( unsigned long *, unsigned char *, HGLOBAL * );
- unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL * );
- void __RPC_USER HGLOBAL_UserFree( unsigned long *, HGLOBAL * );
- unsigned long __RPC_USER HMENU_UserSize( unsigned long *, unsigned long , HMENU * );
- unsigned char * __RPC_USER HMENU_UserMarshal( unsigned long *, unsigned char *, HMENU * );
- unsigned char * __RPC_USER HMENU_UserUnmarshal(unsigned long *, unsigned char *, HMENU * );
- void __RPC_USER HMENU_UserFree( unsigned long *, HMENU * );
- unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
- unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
- unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
- void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
- unsigned long __RPC_USER STGMEDIUM_UserSize( unsigned long *, unsigned long , STGMEDIUM * );
- unsigned char * __RPC_USER STGMEDIUM_UserMarshal( unsigned long *, unsigned char *, STGMEDIUM * );
- unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(unsigned long *, unsigned char *, STGMEDIUM * );
- void __RPC_USER STGMEDIUM_UserFree( unsigned long *, STGMEDIUM * );
- /* [local] */ HRESULT STDMETHODCALLTYPE IOleCache2_UpdateCache_Proxy(
- IOleCache2 * This,
- /* [in] */ LPDATAOBJECT pDataObject,
- /* [in] */ DWORD grfUpdf,
- /* [in] */ LPVOID pReserved);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IOleCache2_UpdateCache_Stub(
- IOleCache2 * This,
- /* [in] */ LPDATAOBJECT pDataObject,
- /* [in] */ DWORD grfUpdf,
- /* [in] */ LONG_PTR pReserved);
- /* [local] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_TranslateAccelerator_Proxy(
- IOleInPlaceActiveObject * This,
- /* [in] */ LPMSG lpmsg);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_TranslateAccelerator_Stub(
- IOleInPlaceActiveObject * This);
- /* [local] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_ResizeBorder_Proxy(
- IOleInPlaceActiveObject * This,
- /* [in] */ LPCRECT prcBorder,
- /* [unique][in] */ IOleInPlaceUIWindow *pUIWindow,
- /* [in] */ BOOL fFrameWindow);
- /* [input_sync][call_as] */ HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_ResizeBorder_Stub(
- IOleInPlaceActiveObject * This,
- /* [in] */ LPCRECT prcBorder,
- /* [in] */ REFIID riid,
- /* [iid_is][unique][in] */ IOleInPlaceUIWindow *pUIWindow,
- /* [in] */ BOOL fFrameWindow);
- /* [local] */ HRESULT STDMETHODCALLTYPE IViewObject_Draw_Proxy(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ HDC hdcTargetDev,
- /* [in] */ HDC hdcDraw,
- /* [in] */ LPCRECTL lprcBounds,
- /* [unique][in] */ LPCRECTL lprcWBounds,
- /* [in] */ BOOL ( STDMETHODCALLTYPE *pfnContinue )(
- ULONG_PTR dwContinue),
- /* [in] */ ULONG_PTR dwContinue);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_Draw_Stub(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [in] */ ULONG_PTR pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ ULONG_PTR hdcTargetDev,
- /* [in] */ ULONG_PTR hdcDraw,
- /* [in] */ LPCRECTL lprcBounds,
- /* [unique][in] */ LPCRECTL lprcWBounds,
- /* [in] */ IContinue *pContinue);
- /* [local] */ HRESULT STDMETHODCALLTYPE IViewObject_GetColorSet_Proxy(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ HDC hicTargetDev,
- /* [out] */ LOGPALETTE **ppColorSet);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_GetColorSet_Stub(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [in] */ ULONG_PTR pvAspect,
- /* [unique][in] */ DVTARGETDEVICE *ptd,
- /* [in] */ ULONG_PTR hicTargetDev,
- /* [out] */ LOGPALETTE **ppColorSet);
- /* [local] */ HRESULT STDMETHODCALLTYPE IViewObject_Freeze_Proxy(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [unique][in] */ void *pvAspect,
- /* [out] */ DWORD *pdwFreeze);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_Freeze_Stub(
- IViewObject * This,
- /* [in] */ DWORD dwDrawAspect,
- /* [in] */ LONG lindex,
- /* [in] */ ULONG_PTR pvAspect,
- /* [out] */ DWORD *pdwFreeze);
- /* [local] */ HRESULT STDMETHODCALLTYPE IViewObject_GetAdvise_Proxy(
- IViewObject * This,
- /* [unique][out] */ DWORD *pAspects,
- /* [unique][out] */ DWORD *pAdvf,
- /* [out] */ IAdviseSink **ppAdvSink);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IViewObject_GetAdvise_Stub(
- IViewObject * This,
- /* [out] */ DWORD *pAspects,
- /* [out] */ DWORD *pAdvf,
- /* [out] */ IAdviseSink **ppAdvSink);
- /* [local] */ HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Next_Proxy(
- IEnumOLEVERB * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ LPOLEVERB rgelt,
- /* [out] */ ULONG *pceltFetched);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Next_Stub(
- IEnumOLEVERB * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ LPOLEVERB rgelt,
- /* [out] */ ULONG *pceltFetched);
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif