⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tom.h

📁 这是VCF框架的代码
💻 H
📖 第 1 页 / 共 5 页
字号:
            /* [in] */ long Count,            /* [retval][out] */ long __RPC_FAR *prop) = 0;                virtual /* [id] */ HRESULT STDMETHODCALLTYPE Redo(             /* [in] */ long Count,            /* [retval][out] */ long __RPC_FAR *prop) = 0;                virtual /* [id] */ HRESULT STDMETHODCALLTYPE Range(             /* [in] */ long cp1,            /* [in] */ long cp2,            /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;                virtual /* [id] */ HRESULT STDMETHODCALLTYPE RangeFromPoint(             /* [in] */ long x,            /* [in] */ long y,            /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;            };    #else 	/* C style interface */    typedef struct ITextDocumentVtbl    {        BEGIN_INTERFACE                HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(             ITextDocument __RPC_FAR * This,            /* [in] */ REFIID riid,            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);                ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(             ITextDocument __RPC_FAR * This);                ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(             ITextDocument __RPC_FAR * This);                HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(             ITextDocument __RPC_FAR * This,            /* [out] */ UINT __RPC_FAR *pctinfo);                HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(             ITextDocument __RPC_FAR * This,            /* [in] */ UINT iTInfo,            /* [in] */ LCID lcid,            /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);                HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(             ITextDocument __RPC_FAR * This,            /* [in] */ REFIID riid,            /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,            /* [in] */ UINT cNames,            /* [in] */ LCID lcid,            /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);                /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(             ITextDocument __RPC_FAR * This,            /* [in] */ DISPID dispIdMember,            /* [in] */ REFIID riid,            /* [in] */ LCID lcid,            /* [in] */ WORD wFlags,            /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,            /* [out] */ VARIANT __RPC_FAR *pVarResult,            /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,            /* [out] */ UINT __RPC_FAR *puArgErr);                /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(             ITextDocument __RPC_FAR * This,            /* [retval][out] */ BSTR __RPC_FAR *pName);                /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSelection )(             ITextDocument __RPC_FAR * This,            /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel);                /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryCount )(             ITextDocument __RPC_FAR * This,            /* [retval][out] */ long __RPC_FAR *pCount);                /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryRanges )(             ITextDocument __RPC_FAR * This,            /* [retval][out] */ ITextStoryRanges __RPC_FAR *__RPC_FAR *ppStories);                /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSaved )(             ITextDocument __RPC_FAR * This,            /* [retval][out] */ long __RPC_FAR *pValue);                /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSaved )(             ITextDocument __RPC_FAR * This,            /* [in] */ long Value);                /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultTabStop )(             ITextDocument __RPC_FAR * This,            /* [retval][out] */ float __RPC_FAR *pValue);                /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDefaultTabStop )(             ITextDocument __RPC_FAR * This,            /* [in] */ float Value);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *New )(             ITextDocument __RPC_FAR * This);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )(             ITextDocument __RPC_FAR * This,            /* [in] */ VARIANT __RPC_FAR *pVar,            /* [in] */ long Flags,            /* [in] */ long CodePage);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Save )(             ITextDocument __RPC_FAR * This,            /* [in] */ VARIANT __RPC_FAR *pVar,            /* [in] */ long Flags,            /* [in] */ long CodePage);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Freeze )(             ITextDocument __RPC_FAR * This,            /* [retval][out] */ long __RPC_FAR *pCount);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unfreeze )(             ITextDocument __RPC_FAR * This,            /* [retval][out] */ long __RPC_FAR *pCount);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEditCollection )(             ITextDocument __RPC_FAR * This);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEditCollection )(             ITextDocument __RPC_FAR * This);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Undo )(             ITextDocument __RPC_FAR * This,            /* [in] */ long Count,            /* [retval][out] */ long __RPC_FAR *prop);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Redo )(             ITextDocument __RPC_FAR * This,            /* [in] */ long Count,            /* [retval][out] */ long __RPC_FAR *prop);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Range )(             ITextDocument __RPC_FAR * This,            /* [in] */ long cp1,            /* [in] */ long cp2,            /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);                /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RangeFromPoint )(             ITextDocument __RPC_FAR * This,            /* [in] */ long x,            /* [in] */ long y,            /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);                END_INTERFACE    } ITextDocumentVtbl;    interface ITextDocument    {        CONST_VTBL struct ITextDocumentVtbl __RPC_FAR *lpVtbl;    };    #ifdef COBJMACROS#define ITextDocument_QueryInterface(This,riid,ppvObject)	\    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)#define ITextDocument_AddRef(This)	\    (This)->lpVtbl -> AddRef(This)#define ITextDocument_Release(This)	\    (This)->lpVtbl -> Release(This)#define ITextDocument_GetTypeInfoCount(This,pctinfo)	\    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)#define ITextDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)#define ITextDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)#define ITextDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)#define ITextDocument_GetName(This,pName)	\    (This)->lpVtbl -> GetName(This,pName)#define ITextDocument_GetSelection(This,ppSel)	\    (This)->lpVtbl -> GetSelection(This,ppSel)#define ITextDocument_GetStoryCount(This,pCount)	\    (This)->lpVtbl -> GetStoryCount(This,pCount)#define ITextDocument_GetStoryRanges(This,ppStories)	\    (This)->lpVtbl -> GetStoryRanges(This,ppStories)#define ITextDocument_GetSaved(This,pValue)	\    (This)->lpVtbl -> GetSaved(This,pValue)#define ITextDocument_SetSaved(This,Value)	\    (This)->lpVtbl -> SetSaved(This,Value)#define ITextDocument_GetDefaultTabStop(This,pValue)	\    (This)->lpVtbl -> GetDefaultTabStop(This,pValue)#define ITextDocument_SetDefaultTabStop(This,Value)	\    (This)->lpVtbl -> SetDefaultTabStop(This,Value)#define ITextDocument_New(This)	\    (This)->lpVtbl -> New(This)#define ITextDocument_Open(This,pVar,Flags,CodePage)	\    (This)->lpVtbl -> Open(This,pVar,Flags,CodePage)#define ITextDocument_Save(This,pVar,Flags,CodePage)	\    (This)->lpVtbl -> Save(This,pVar,Flags,CodePage)#define ITextDocument_Freeze(This,pCount)	\    (This)->lpVtbl -> Freeze(This,pCount)#define ITextDocument_Unfreeze(This,pCount)	\    (This)->lpVtbl -> Unfreeze(This,pCount)#define ITextDocument_BeginEditCollection(This)	\    (This)->lpVtbl -> BeginEditCollection(This)#define ITextDocument_EndEditCollection(This)	\    (This)->lpVtbl -> EndEditCollection(This)#define ITextDocument_Undo(This,Count,prop)	\    (This)->lpVtbl -> Undo(This,Count,prop)#define ITextDocument_Redo(This,Count,prop)	\    (This)->lpVtbl -> Redo(This,Count,prop)#define ITextDocument_Range(This,cp1,cp2,ppRange)	\    (This)->lpVtbl -> Range(This,cp1,cp2,ppRange)#define ITextDocument_RangeFromPoint(This,x,y,ppRange)	\    (This)->lpVtbl -> RangeFromPoint(This,x,y,ppRange)#endif /* COBJMACROS */#endif 	/* C style interface *//* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetName_Proxy(     ITextDocument __RPC_FAR * This,    /* [retval][out] */ BSTR __RPC_FAR *pName);void __RPC_STUB ITextDocument_GetName_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetSelection_Proxy(     ITextDocument __RPC_FAR * This,    /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel);void __RPC_STUB ITextDocument_GetSelection_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetStoryCount_Proxy(     ITextDocument __RPC_FAR * This,    /* [retval][out] */ long __RPC_FAR *pCount);void __RPC_STUB ITextDocument_GetStoryCount_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetStoryRanges_Proxy(     ITextDocument __RPC_FAR * This,    /* [retval][out] */ ITextStoryRanges __RPC_FAR *__RPC_FAR *ppStories);void __RPC_STUB ITextDocument_GetStoryRanges_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetSaved_Proxy(     ITextDocument __RPC_FAR * This,    /* [retval][out] */ long __RPC_FAR *pValue);void __RPC_STUB ITextDocument_GetSaved_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_SetSaved_Proxy(     ITextDocument __RPC_FAR * This,    /* [in] */ long Value);void __RPC_STUB ITextDocument_SetSaved_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetDefaultTabStop_Proxy(     ITextDocument __RPC_FAR * This,    /* [retval][out] */ float __RPC_FAR *pValue);void __RPC_STUB ITextDocument_GetDefaultTabStop_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_SetDefaultTabStop_Proxy(     ITextDocument __RPC_FAR * This,    /* [in] */ float Value);void __RPC_STUB ITextDocument_SetDefaultTabStop_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_New_Proxy(     ITextDocument __RPC_FAR * This);void __RPC_STUB ITextDocument_New_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Open_Proxy(     ITextDocument __RPC_FAR * This,    /* [in] */ VARIANT __RPC_FAR *pVar,    /* [in] */ long Flags,    /* [in] */ long CodePage);void __RPC_STUB ITextDocument_Open_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Save_Proxy(     ITextDocument __RPC_FAR * This,    /* [in] */ VARIANT __RPC_FAR *pVar,    /* [in] */ long Flags,    /* [in] */ long CodePage);void __RPC_STUB ITextDocument_Save_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Freeze_Proxy(     ITextDocument __RPC_FAR * This,    /* [retval][out] */ long __RPC_FAR *pCount);void __RPC_STUB ITextDocument_Freeze_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Unfreeze_Proxy(     ITextDocument __RPC_FAR * This,    /* [retval][out] */ long __RPC_FAR *pCount);void __RPC_STUB ITextDocument_Unfreeze_Stub(    IRpcStubBuffer *This,    IRpcChannelBuffer *_pRpcChannelBuffer,    PRPC_MESSAGE _pRpcMessage,    DWORD *_pdwStubPhase);/* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_BeginEditCollection_Proxy( 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -