TOM.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:223k
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 5.01.0164 */
- /* at Thu Apr 22 14:10:21 1999
- */
- /* Compiler settings for tom.idl:
- Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
- error checks: allocation ref bounds_check enum stub_data
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 440
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __tomtmp_h__
- #define __tomtmp_h__
- #ifdef __cplusplus
- extern "C"{
- #endif
- /* Forward Declarations */
- #ifndef __ITextDocument_FWD_DEFINED__
- #define __ITextDocument_FWD_DEFINED__
- typedef interface ITextDocument ITextDocument;
- #endif /* __ITextDocument_FWD_DEFINED__ */
- #ifndef __ITextRange_FWD_DEFINED__
- #define __ITextRange_FWD_DEFINED__
- typedef interface ITextRange ITextRange;
- #endif /* __ITextRange_FWD_DEFINED__ */
- #ifndef __ITextSelection_FWD_DEFINED__
- #define __ITextSelection_FWD_DEFINED__
- typedef interface ITextSelection ITextSelection;
- #endif /* __ITextSelection_FWD_DEFINED__ */
- #ifndef __ITextFont_FWD_DEFINED__
- #define __ITextFont_FWD_DEFINED__
- typedef interface ITextFont ITextFont;
- #endif /* __ITextFont_FWD_DEFINED__ */
- #ifndef __ITextPara_FWD_DEFINED__
- #define __ITextPara_FWD_DEFINED__
- typedef interface ITextPara ITextPara;
- #endif /* __ITextPara_FWD_DEFINED__ */
- #ifndef __ITextStoryRanges_FWD_DEFINED__
- #define __ITextStoryRanges_FWD_DEFINED__
- typedef interface ITextStoryRanges ITextStoryRanges;
- #endif /* __ITextStoryRanges_FWD_DEFINED__ */
- #ifndef __ITextDocument2_FWD_DEFINED__
- #define __ITextDocument2_FWD_DEFINED__
- typedef interface ITextDocument2 ITextDocument2;
- #endif /* __ITextDocument2_FWD_DEFINED__ */
- #ifndef __ITextMsgFilter_FWD_DEFINED__
- #define __ITextMsgFilter_FWD_DEFINED__
- typedef interface ITextMsgFilter ITextMsgFilter;
- #endif /* __ITextMsgFilter_FWD_DEFINED__ */
- #ifndef __ITextDocument_FWD_DEFINED__
- #define __ITextDocument_FWD_DEFINED__
- typedef interface ITextDocument ITextDocument;
- #endif /* __ITextDocument_FWD_DEFINED__ */
- #ifndef __ITextRange_FWD_DEFINED__
- #define __ITextRange_FWD_DEFINED__
- typedef interface ITextRange ITextRange;
- #endif /* __ITextRange_FWD_DEFINED__ */
- #ifndef __ITextSelection_FWD_DEFINED__
- #define __ITextSelection_FWD_DEFINED__
- typedef interface ITextSelection ITextSelection;
- #endif /* __ITextSelection_FWD_DEFINED__ */
- #ifndef __ITextFont_FWD_DEFINED__
- #define __ITextFont_FWD_DEFINED__
- typedef interface ITextFont ITextFont;
- #endif /* __ITextFont_FWD_DEFINED__ */
- #ifndef __ITextPara_FWD_DEFINED__
- #define __ITextPara_FWD_DEFINED__
- typedef interface ITextPara ITextPara;
- #endif /* __ITextPara_FWD_DEFINED__ */
- #ifndef __ITextStoryRanges_FWD_DEFINED__
- #define __ITextStoryRanges_FWD_DEFINED__
- typedef interface ITextStoryRanges ITextStoryRanges;
- #endif /* __ITextStoryRanges_FWD_DEFINED__ */
- #ifndef __ITextDocument2_FWD_DEFINED__
- #define __ITextDocument2_FWD_DEFINED__
- typedef interface ITextDocument2 ITextDocument2;
- #endif /* __ITextDocument2_FWD_DEFINED__ */
- #ifndef __ITextMsgFilter_FWD_DEFINED__
- #define __ITextMsgFilter_FWD_DEFINED__
- typedef interface ITextMsgFilter ITextMsgFilter;
- #endif /* __ITextMsgFilter_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void __RPC_FAR * );
- /* interface __MIDL_itf_tom_0000 */
- /* [local] */
- extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_s_ifspec;
- #ifndef __tom_LIBRARY_DEFINED__
- #define __tom_LIBRARY_DEFINED__
- /* library tom */
- /* [version][uuid] */
- typedef /* [public] */
- enum __MIDL___MIDL_itf_tom_0000_0001
- { tomFalse = 0,
- tomTrue = -1,
- tomUndefined = -9999999,
- tomToggle = -9999998,
- tomAutoColor = -9999997,
- tomDefault = -9999996,
- tomSuspend = -9999995,
- tomResume = -9999994,
- tomApplyNow = 0,
- tomApplyLater = 1,
- tomTrackParms = 2,
- tomCacheParms = 3,
- tomBackward = 0xc0000001,
- tomForward = 0x3fffffff,
- tomMove = 0,
- tomExtend = 1,
- tomNoSelection = 0,
- tomSelectionIP = 1,
- tomSelectionNormal = 2,
- tomSelectionFrame = 3,
- tomSelectionColumn = 4,
- tomSelectionRow = 5,
- tomSelectionBlock = 6,
- tomSelectionInlineShape = 7,
- tomSelectionShape = 8,
- tomSelStartActive = 1,
- tomSelAtEOL = 2,
- tomSelOvertype = 4,
- tomSelActive = 8,
- tomSelReplace = 16,
- tomEnd = 0,
- tomStart = 32,
- tomCollapseEnd = 0,
- tomCollapseStart = 1,
- tomClientCoord = 256,
- tomNone = 0,
- tomSingle = 1,
- tomWords = 2,
- tomDouble = 3,
- tomDotted = 4,
- tomDash = 5,
- tomDashDot = 6,
- tomDashDotDot = 7,
- tomWave = 8,
- tomThick = 9,
- tomHair = 10,
- tomLineSpaceSingle = 0,
- tomLineSpace1pt5 = 1,
- tomLineSpaceDouble = 2,
- tomLineSpaceAtLeast = 3,
- tomLineSpaceExactly = 4,
- tomLineSpaceMultiple = 5,
- tomAlignLeft = 0,
- tomAlignCenter = 1,
- tomAlignRight = 2,
- tomAlignJustify = 3,
- tomAlignDecimal = 3,
- tomAlignBar = 4,
- tomAlignInterWord = 3,
- tomAlignInterLetter = 4,
- tomAlignScaled = 5,
- tomAlignGlyphs = 6,
- tomAlignSnapGrid = 7,
- tomSpaces = 0,
- tomDots = 1,
- tomDashes = 2,
- tomLines = 3,
- tomThickLines = 4,
- tomEquals = 5,
- tomTabBack = -3,
- tomTabNext = -2,
- tomTabHere = -1,
- tomListNone = 0,
- tomListBullet = 1,
- tomListNumberAsArabic = 2,
- tomListNumberAsLCLetter = 3,
- tomListNumberAsUCLetter = 4,
- tomListNumberAsLCRoman = 5,
- tomListNumberAsUCRoman = 6,
- tomListNumberAsSequence = 7,
- tomListParentheses = 0x10000,
- tomListPeriod = 0x20000,
- tomListPlain = 0x30000,
- tomCharacter = 1,
- tomWord = 2,
- tomSentence = 3,
- tomParagraph = 4,
- tomLine = 5,
- tomStory = 6,
- tomScreen = 7,
- tomSection = 8,
- tomColumn = 9,
- tomRow = 10,
- tomWindow = 11,
- tomCell = 12,
- tomCharFormat = 13,
- tomParaFormat = 14,
- tomTable = 15,
- tomObject = 16,
- tomMatchWord = 2,
- tomMatchCase = 4,
- tomMatchPattern = 8,
- tomUnknownStory = 0,
- tomMainTextStory = 1,
- tomFootnotesStory = 2,
- tomEndnotesStory = 3,
- tomCommentsStory = 4,
- tomTextFrameStory = 5,
- tomEvenPagesHeaderStory = 6,
- tomPrimaryHeaderStory = 7,
- tomEvenPagesFooterStory = 8,
- tomPrimaryFooterStory = 9,
- tomFirstPageHeaderStory = 10,
- tomFirstPageFooterStory = 11,
- tomNoAnimation = 0,
- tomLasVegasLights = 1,
- tomBlinkingBackground = 2,
- tomSparkleText = 3,
- tomMarchingBlackAnts = 4,
- tomMarchingRedAnts = 5,
- tomShimmer = 6,
- tomWipeDown = 7,
- tomWipeRight = 8,
- tomAnimationMax = 8,
- tomLowerCase = 0,
- tomUpperCase = 1,
- tomTitleCase = 2,
- tomSentenceCase = 4,
- tomToggleCase = 5,
- tomReadOnly = 0x100,
- tomShareDenyRead = 0x200,
- tomShareDenyWrite = 0x400,
- tomPasteFile = 0x1000,
- tomCreateNew = 0x10,
- tomCreateAlways = 0x20,
- tomOpenExisting = 0x30,
- tomOpenAlways = 0x40,
- tomTruncateExisting = 0x50,
- tomRTF = 0x1,
- tomText = 0x2,
- tomHTML = 0x3,
- tomWordDocument = 0x4,
- tomBold = 0x80000001,
- tomItalic = 0x80000002,
- tomUnderline = 0x80000004,
- tomStrikeout = 0x80000008,
- tomProtected = 0x80000010,
- tomLink = 0x80000020,
- tomSmallCaps = 0x80000040,
- tomAllCaps = 0x80000080,
- tomHidden = 0x80000100,
- tomOutline = 0x80000200,
- tomShadow = 0x80000400,
- tomEmboss = 0x80000800,
- tomImprint = 0x80001000,
- tomDisabled = 0x80002000,
- tomRevised = 0x80004000,
- tomNormalCaret = 0,
- tomKoreanBlockCaret = 0x1,
- tomIncludeInset = 0x1,
- tomIgnoreCurrentFont = 0,
- tomMatchFontCharset = 0x1,
- tomMatchFontSignature = 0x2,
- tomCharset = 0x80000000,
- tomRE10Mode = 0x1,
- tomNoIME = 0x80000,
- tomSelfIME = 0x40000
- } tomConstants;
- EXTERN_C const IID LIBID_tom;
- #ifndef __ITextDocument_INTERFACE_DEFINED__
- #define __ITextDocument_INTERFACE_DEFINED__
- /* interface ITextDocument */
- /* [object][nonextensible][dual][version][uuid] */
- EXTERN_C const IID IID_ITextDocument;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8CC497C0-A1DF-11ce-8098-00AA0047BE5D")
- ITextDocument : public IDispatch
- {
- public:
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetName(
- /* [retval][out] */ BSTR __RPC_FAR *pName) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSelection(
- /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryCount(
- /* [retval][out] */ long __RPC_FAR *pCount) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryRanges(
- /* [retval][out] */ ITextStoryRanges __RPC_FAR *__RPC_FAR *ppStories) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSaved(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSaved(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetDefaultTabStop(
- /* [retval][out] */ float __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetDefaultTabStop(
- /* [in] */ float Value) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE New( void) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Open(
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Flags,
- /* [in] */ long CodePage) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Save(
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Flags,
- /* [in] */ long CodePage) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Freeze(
- /* [retval][out] */ long __RPC_FAR *pCount) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Unfreeze(
- /* [retval][out] */ long __RPC_FAR *pCount) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE BeginEditCollection( void) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndEditCollection( void) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Undo(
- /* [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(
- ITextDocument __RPC_FAR * This);
- void __RPC_STUB ITextDocument_BeginEditCollection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_EndEditCollection_Proxy(
- ITextDocument __RPC_FAR * This);
- void __RPC_STUB ITextDocument_EndEditCollection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Undo_Proxy(
- ITextDocument __RPC_FAR * This,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *prop);
- void __RPC_STUB ITextDocument_Undo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Redo_Proxy(
- ITextDocument __RPC_FAR * This,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *prop);
- void __RPC_STUB ITextDocument_Redo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Range_Proxy(
- ITextDocument __RPC_FAR * This,
- /* [in] */ long cp1,
- /* [in] */ long cp2,
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
- void __RPC_STUB ITextDocument_Range_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_RangeFromPoint_Proxy(
- ITextDocument __RPC_FAR * This,
- /* [in] */ long x,
- /* [in] */ long y,
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
- void __RPC_STUB ITextDocument_RangeFromPoint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITextDocument_INTERFACE_DEFINED__ */
- #ifndef __ITextRange_INTERFACE_DEFINED__
- #define __ITextRange_INTERFACE_DEFINED__
- /* interface ITextRange */
- /* [object][nonextensible][dual][version][uuid] */
- EXTERN_C const IID IID_ITextRange;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8CC497C2-A1DF-11ce-8098-00AA0047BE5D")
- ITextRange : public IDispatch
- {
- public:
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetText(
- /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetText(
- /* [in] */ BSTR bstr) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetChar(
- /* [retval][out] */ long __RPC_FAR *pch) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetChar(
- /* [in] */ long ch) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetDuplicate(
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetFormattedText(
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetFormattedText(
- /* [in] */ ITextRange __RPC_FAR *pRange) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStart(
- /* [retval][out] */ long __RPC_FAR *pcpFirst) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetStart(
- /* [in] */ long cpFirst) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetEnd(
- /* [retval][out] */ long __RPC_FAR *pcpLim) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetEnd(
- /* [in] */ long cpLim) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetFont(
- /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *pFont) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetFont(
- /* [in] */ ITextFont __RPC_FAR *pFont) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetPara(
- /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *pPara) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetPara(
- /* [in] */ ITextPara __RPC_FAR *pPara) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryLength(
- /* [retval][out] */ long __RPC_FAR *pcch) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryType(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Collapse(
- /* [in] */ long bStart) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Expand(
- /* [in] */ long Unit,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetIndex(
- /* [in] */ long Unit,
- /* [retval][out] */ long __RPC_FAR *pIndex) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetIndex(
- /* [in] */ long Unit,
- /* [in] */ long Index,
- /* [in] */ long Extend) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetRange(
- /* [in] */ long cpActive,
- /* [in] */ long cpOther) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE InRange(
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE InStory(
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsEqual(
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Select( void) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE StartOf(
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndOf(
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Move(
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveStart(
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveEnd(
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveWhile(
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveStartWhile(
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveEndWhile(
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveUntil(
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveStartUntil(
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveEndUntil(
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE FindText(
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE FindTextStart(
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE FindTextEnd(
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Delete(
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Cut(
- /* [out] */ VARIANT __RPC_FAR *pVar) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Copy(
- /* [out] */ VARIANT __RPC_FAR *pVar) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Paste(
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Format) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE CanPaste(
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Format,
- /* [retval][out] */ long __RPC_FAR *pb) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE CanEdit(
- /* [retval][out] */ long __RPC_FAR *pbCanEdit) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE ChangeCase(
- /* [in] */ long Type) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPoint(
- /* [in] */ long Type,
- /* [out] */ long __RPC_FAR *px,
- /* [out] */ long __RPC_FAR *py) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetPoint(
- /* [in] */ long x,
- /* [in] */ long y,
- /* [in] */ long Type,
- /* [in] */ long Extend) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE ScrollIntoView(
- /* [in] */ long Value) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetEmbeddedObject(
- /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITextRangeVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- ITextRange __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- ITextRange __RPC_FAR * This);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- ITextRange __RPC_FAR * This);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
- ITextRange __RPC_FAR * This,
- /* [out] */ UINT __RPC_FAR *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
- ITextRange __RPC_FAR * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
- ITextRange __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 )(
- ITextRange __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 *GetText )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ BSTR __RPC_FAR *pbstr);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetText )(
- ITextRange __RPC_FAR * This,
- /* [in] */ BSTR bstr);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetChar )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pch);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetChar )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long ch);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDuplicate )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFormattedText )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFormattedText )(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStart )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcpFirst);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStart )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long cpFirst);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnd )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcpLim);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnd )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long cpLim);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFont )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *pFont);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFont )(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextFont __RPC_FAR *pFont);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPara )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *pPara);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPara )(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextPara __RPC_FAR *pPara);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryLength )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcch);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryType )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pValue);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Collapse )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long bStart);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Expand )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIndex )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [retval][out] */ long __RPC_FAR *pIndex);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIndex )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Index,
- /* [in] */ long Extend);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRange )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long cpActive,
- /* [in] */ long cpOther);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InRange )(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InStory )(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Select )(
- ITextRange __RPC_FAR * This);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StartOf )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndOf )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStart )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEnd )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveWhile )(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStartWhile )(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEndWhile )(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveUntil )(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStartUntil )(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEndUntil )(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindText )(
- ITextRange __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindTextStart )(
- ITextRange __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindTextEnd )(
- ITextRange __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Cut )(
- ITextRange __RPC_FAR * This,
- /* [out] */ VARIANT __RPC_FAR *pVar);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Copy )(
- ITextRange __RPC_FAR * This,
- /* [out] */ VARIANT __RPC_FAR *pVar);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Paste )(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Format);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanPaste )(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Format,
- /* [retval][out] */ long __RPC_FAR *pb);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanEdit )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pbCanEdit);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChangeCase )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Type);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPoint )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Type,
- /* [out] */ long __RPC_FAR *px,
- /* [out] */ long __RPC_FAR *py);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPoint )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long x,
- /* [in] */ long y,
- /* [in] */ long Type,
- /* [in] */ long Extend);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ScrollIntoView )(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Value);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEmbeddedObject )(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv);
-
- END_INTERFACE
- } ITextRangeVtbl;
- interface ITextRange
- {
- CONST_VTBL struct ITextRangeVtbl __RPC_FAR *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITextRange_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITextRange_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITextRange_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITextRange_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ITextRange_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ITextRange_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ITextRange_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ITextRange_GetText(This,pbstr)
- (This)->lpVtbl -> GetText(This,pbstr)
- #define ITextRange_SetText(This,bstr)
- (This)->lpVtbl -> SetText(This,bstr)
- #define ITextRange_GetChar(This,pch)
- (This)->lpVtbl -> GetChar(This,pch)
- #define ITextRange_SetChar(This,ch)
- (This)->lpVtbl -> SetChar(This,ch)
- #define ITextRange_GetDuplicate(This,ppRange)
- (This)->lpVtbl -> GetDuplicate(This,ppRange)
- #define ITextRange_GetFormattedText(This,ppRange)
- (This)->lpVtbl -> GetFormattedText(This,ppRange)
- #define ITextRange_SetFormattedText(This,pRange)
- (This)->lpVtbl -> SetFormattedText(This,pRange)
- #define ITextRange_GetStart(This,pcpFirst)
- (This)->lpVtbl -> GetStart(This,pcpFirst)
- #define ITextRange_SetStart(This,cpFirst)
- (This)->lpVtbl -> SetStart(This,cpFirst)
- #define ITextRange_GetEnd(This,pcpLim)
- (This)->lpVtbl -> GetEnd(This,pcpLim)
- #define ITextRange_SetEnd(This,cpLim)
- (This)->lpVtbl -> SetEnd(This,cpLim)
- #define ITextRange_GetFont(This,pFont)
- (This)->lpVtbl -> GetFont(This,pFont)
- #define ITextRange_SetFont(This,pFont)
- (This)->lpVtbl -> SetFont(This,pFont)
- #define ITextRange_GetPara(This,pPara)
- (This)->lpVtbl -> GetPara(This,pPara)
- #define ITextRange_SetPara(This,pPara)
- (This)->lpVtbl -> SetPara(This,pPara)
- #define ITextRange_GetStoryLength(This,pcch)
- (This)->lpVtbl -> GetStoryLength(This,pcch)
- #define ITextRange_GetStoryType(This,pValue)
- (This)->lpVtbl -> GetStoryType(This,pValue)
- #define ITextRange_Collapse(This,bStart)
- (This)->lpVtbl -> Collapse(This,bStart)
- #define ITextRange_Expand(This,Unit,pDelta)
- (This)->lpVtbl -> Expand(This,Unit,pDelta)
- #define ITextRange_GetIndex(This,Unit,pIndex)
- (This)->lpVtbl -> GetIndex(This,Unit,pIndex)
- #define ITextRange_SetIndex(This,Unit,Index,Extend)
- (This)->lpVtbl -> SetIndex(This,Unit,Index,Extend)
- #define ITextRange_SetRange(This,cpActive,cpOther)
- (This)->lpVtbl -> SetRange(This,cpActive,cpOther)
- #define ITextRange_InRange(This,pRange,pb)
- (This)->lpVtbl -> InRange(This,pRange,pb)
- #define ITextRange_InStory(This,pRange,pb)
- (This)->lpVtbl -> InStory(This,pRange,pb)
- #define ITextRange_IsEqual(This,pRange,pb)
- (This)->lpVtbl -> IsEqual(This,pRange,pb)
- #define ITextRange_Select(This)
- (This)->lpVtbl -> Select(This)
- #define ITextRange_StartOf(This,Unit,Extend,pDelta)
- (This)->lpVtbl -> StartOf(This,Unit,Extend,pDelta)
- #define ITextRange_EndOf(This,Unit,Extend,pDelta)
- (This)->lpVtbl -> EndOf(This,Unit,Extend,pDelta)
- #define ITextRange_Move(This,Unit,Count,pDelta)
- (This)->lpVtbl -> Move(This,Unit,Count,pDelta)
- #define ITextRange_MoveStart(This,Unit,Count,pDelta)
- (This)->lpVtbl -> MoveStart(This,Unit,Count,pDelta)
- #define ITextRange_MoveEnd(This,Unit,Count,pDelta)
- (This)->lpVtbl -> MoveEnd(This,Unit,Count,pDelta)
- #define ITextRange_MoveWhile(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveWhile(This,Cset,Count,pDelta)
- #define ITextRange_MoveStartWhile(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveStartWhile(This,Cset,Count,pDelta)
- #define ITextRange_MoveEndWhile(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveEndWhile(This,Cset,Count,pDelta)
- #define ITextRange_MoveUntil(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveUntil(This,Cset,Count,pDelta)
- #define ITextRange_MoveStartUntil(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveStartUntil(This,Cset,Count,pDelta)
- #define ITextRange_MoveEndUntil(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveEndUntil(This,Cset,Count,pDelta)
- #define ITextRange_FindText(This,bstr,cch,Flags,pLength)
- (This)->lpVtbl -> FindText(This,bstr,cch,Flags,pLength)
- #define ITextRange_FindTextStart(This,bstr,cch,Flags,pLength)
- (This)->lpVtbl -> FindTextStart(This,bstr,cch,Flags,pLength)
- #define ITextRange_FindTextEnd(This,bstr,cch,Flags,pLength)
- (This)->lpVtbl -> FindTextEnd(This,bstr,cch,Flags,pLength)
- #define ITextRange_Delete(This,Unit,Count,pDelta)
- (This)->lpVtbl -> Delete(This,Unit,Count,pDelta)
- #define ITextRange_Cut(This,pVar)
- (This)->lpVtbl -> Cut(This,pVar)
- #define ITextRange_Copy(This,pVar)
- (This)->lpVtbl -> Copy(This,pVar)
- #define ITextRange_Paste(This,pVar,Format)
- (This)->lpVtbl -> Paste(This,pVar,Format)
- #define ITextRange_CanPaste(This,pVar,Format,pb)
- (This)->lpVtbl -> CanPaste(This,pVar,Format,pb)
- #define ITextRange_CanEdit(This,pbCanEdit)
- (This)->lpVtbl -> CanEdit(This,pbCanEdit)
- #define ITextRange_ChangeCase(This,Type)
- (This)->lpVtbl -> ChangeCase(This,Type)
- #define ITextRange_GetPoint(This,Type,px,py)
- (This)->lpVtbl -> GetPoint(This,Type,px,py)
- #define ITextRange_SetPoint(This,x,y,Type,Extend)
- (This)->lpVtbl -> SetPoint(This,x,y,Type,Extend)
- #define ITextRange_ScrollIntoView(This,Value)
- (This)->lpVtbl -> ScrollIntoView(This,Value)
- #define ITextRange_GetEmbeddedObject(This,ppv)
- (This)->lpVtbl -> GetEmbeddedObject(This,ppv)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetText_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ BSTR __RPC_FAR *pbstr);
- void __RPC_STUB ITextRange_GetText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetText_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ BSTR bstr);
- void __RPC_STUB ITextRange_SetText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetChar_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pch);
- void __RPC_STUB ITextRange_GetChar_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetChar_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long ch);
- void __RPC_STUB ITextRange_SetChar_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetDuplicate_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
- void __RPC_STUB ITextRange_GetDuplicate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetFormattedText_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
- void __RPC_STUB ITextRange_GetFormattedText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetFormattedText_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange);
- void __RPC_STUB ITextRange_SetFormattedText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetStart_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcpFirst);
- void __RPC_STUB ITextRange_GetStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetStart_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long cpFirst);
- void __RPC_STUB ITextRange_SetStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetEnd_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcpLim);
- void __RPC_STUB ITextRange_GetEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetEnd_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long cpLim);
- void __RPC_STUB ITextRange_SetEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetFont_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *pFont);
- void __RPC_STUB ITextRange_GetFont_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetFont_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextFont __RPC_FAR *pFont);
- void __RPC_STUB ITextRange_SetFont_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetPara_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *pPara);
- void __RPC_STUB ITextRange_GetPara_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetPara_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextPara __RPC_FAR *pPara);
- void __RPC_STUB ITextRange_SetPara_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetStoryLength_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcch);
- void __RPC_STUB ITextRange_GetStoryLength_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetStoryType_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pValue);
- void __RPC_STUB ITextRange_GetStoryType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Collapse_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long bStart);
- void __RPC_STUB ITextRange_Collapse_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Expand_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_Expand_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetIndex_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [retval][out] */ long __RPC_FAR *pIndex);
- void __RPC_STUB ITextRange_GetIndex_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetIndex_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Index,
- /* [in] */ long Extend);
- void __RPC_STUB ITextRange_SetIndex_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetRange_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long cpActive,
- /* [in] */ long cpOther);
- void __RPC_STUB ITextRange_SetRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_InRange_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
- void __RPC_STUB ITextRange_InRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_InStory_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
- void __RPC_STUB ITextRange_InStory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_IsEqual_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
- void __RPC_STUB ITextRange_IsEqual_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Select_Proxy(
- ITextRange __RPC_FAR * This);
- void __RPC_STUB ITextRange_Select_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_StartOf_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_StartOf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_EndOf_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_EndOf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Move_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_Move_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveStart_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_MoveStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveEnd_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_MoveEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveWhile_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_MoveWhile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveStartWhile_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_MoveStartWhile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveEndWhile_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_MoveEndWhile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveUntil_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_MoveUntil_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveStartUntil_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_MoveStartUntil_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveEndUntil_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_MoveEndUntil_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_FindText_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
- void __RPC_STUB ITextRange_FindText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_FindTextStart_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
- void __RPC_STUB ITextRange_FindTextStart_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_FindTextEnd_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
- void __RPC_STUB ITextRange_FindTextEnd_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Delete_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextRange_Delete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Cut_Proxy(
- ITextRange __RPC_FAR * This,
- /* [out] */ VARIANT __RPC_FAR *pVar);
- void __RPC_STUB ITextRange_Cut_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Copy_Proxy(
- ITextRange __RPC_FAR * This,
- /* [out] */ VARIANT __RPC_FAR *pVar);
- void __RPC_STUB ITextRange_Copy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Paste_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Format);
- void __RPC_STUB ITextRange_Paste_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_CanPaste_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Format,
- /* [retval][out] */ long __RPC_FAR *pb);
- void __RPC_STUB ITextRange_CanPaste_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_CanEdit_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pbCanEdit);
- void __RPC_STUB ITextRange_CanEdit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_ChangeCase_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Type);
- void __RPC_STUB ITextRange_ChangeCase_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetPoint_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Type,
- /* [out] */ long __RPC_FAR *px,
- /* [out] */ long __RPC_FAR *py);
- void __RPC_STUB ITextRange_GetPoint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetPoint_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long x,
- /* [in] */ long y,
- /* [in] */ long Type,
- /* [in] */ long Extend);
- void __RPC_STUB ITextRange_SetPoint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_ScrollIntoView_Proxy(
- ITextRange __RPC_FAR * This,
- /* [in] */ long Value);
- void __RPC_STUB ITextRange_ScrollIntoView_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetEmbeddedObject_Proxy(
- ITextRange __RPC_FAR * This,
- /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv);
- void __RPC_STUB ITextRange_GetEmbeddedObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITextRange_INTERFACE_DEFINED__ */
- #ifndef __ITextSelection_INTERFACE_DEFINED__
- #define __ITextSelection_INTERFACE_DEFINED__
- /* interface ITextSelection */
- /* [object][nonextensible][dual][version][uuid] */
- EXTERN_C const IID IID_ITextSelection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8CC497C1-A1DF-11ce-8098-00AA0047BE5D")
- ITextSelection : public ITextRange
- {
- public:
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetFlags(
- /* [retval][out] */ long __RPC_FAR *pFlags) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetFlags(
- /* [in] */ LONG Flags) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetType(
- /* [retval][out] */ long __RPC_FAR *pType) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveLeft(
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveRight(
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveUp(
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveDown(
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE HomeKey(
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndKey(
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE TypeText(
- /* [in] */ BSTR bstr) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITextSelectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- ITextSelection __RPC_FAR * This);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- ITextSelection __RPC_FAR * This);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
- ITextSelection __RPC_FAR * This,
- /* [out] */ UINT __RPC_FAR *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
- ITextSelection __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 )(
- ITextSelection __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 *GetText )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ BSTR __RPC_FAR *pbstr);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetText )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ BSTR bstr);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetChar )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pch);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetChar )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long ch);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDuplicate )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFormattedText )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFormattedText )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStart )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcpFirst);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStart )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long cpFirst);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnd )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcpLim);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnd )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long cpLim);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFont )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *pFont);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFont )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ ITextFont __RPC_FAR *pFont);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPara )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *pPara);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPara )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ ITextPara __RPC_FAR *pPara);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryLength )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pcch);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryType )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pValue);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Collapse )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long bStart);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Expand )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIndex )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [retval][out] */ long __RPC_FAR *pIndex);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIndex )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Index,
- /* [in] */ long Extend);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRange )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long cpActive,
- /* [in] */ long cpOther);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InRange )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InStory )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ ITextRange __RPC_FAR *pRange,
- /* [retval][out] */ long __RPC_FAR *pb);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Select )(
- ITextSelection __RPC_FAR * This);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StartOf )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndOf )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStart )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEnd )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveWhile )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStartWhile )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEndWhile )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveUntil )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStartUntil )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEndUntil )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *Cset,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindText )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindTextStart )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindTextEnd )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ BSTR bstr,
- /* [in] */ long cch,
- /* [in] */ long Flags,
- /* [retval][out] */ long __RPC_FAR *pLength);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Cut )(
- ITextSelection __RPC_FAR * This,
- /* [out] */ VARIANT __RPC_FAR *pVar);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Copy )(
- ITextSelection __RPC_FAR * This,
- /* [out] */ VARIANT __RPC_FAR *pVar);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Paste )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Format);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanPaste )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ VARIANT __RPC_FAR *pVar,
- /* [in] */ long Format,
- /* [retval][out] */ long __RPC_FAR *pb);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanEdit )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pbCanEdit);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChangeCase )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Type);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPoint )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Type,
- /* [out] */ long __RPC_FAR *px,
- /* [out] */ long __RPC_FAR *py);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPoint )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long x,
- /* [in] */ long y,
- /* [in] */ long Type,
- /* [in] */ long Extend);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ScrollIntoView )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Value);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEmbeddedObject )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFlags )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pFlags);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFlags )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ LONG Flags);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetType )(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pType);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveLeft )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveRight )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveUp )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveDown )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HomeKey )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndKey )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TypeText )(
- ITextSelection __RPC_FAR * This,
- /* [in] */ BSTR bstr);
-
- END_INTERFACE
- } ITextSelectionVtbl;
- interface ITextSelection
- {
- CONST_VTBL struct ITextSelectionVtbl __RPC_FAR *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITextSelection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITextSelection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITextSelection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITextSelection_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ITextSelection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ITextSelection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ITextSelection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ITextSelection_GetText(This,pbstr)
- (This)->lpVtbl -> GetText(This,pbstr)
- #define ITextSelection_SetText(This,bstr)
- (This)->lpVtbl -> SetText(This,bstr)
- #define ITextSelection_GetChar(This,pch)
- (This)->lpVtbl -> GetChar(This,pch)
- #define ITextSelection_SetChar(This,ch)
- (This)->lpVtbl -> SetChar(This,ch)
- #define ITextSelection_GetDuplicate(This,ppRange)
- (This)->lpVtbl -> GetDuplicate(This,ppRange)
- #define ITextSelection_GetFormattedText(This,ppRange)
- (This)->lpVtbl -> GetFormattedText(This,ppRange)
- #define ITextSelection_SetFormattedText(This,pRange)
- (This)->lpVtbl -> SetFormattedText(This,pRange)
- #define ITextSelection_GetStart(This,pcpFirst)
- (This)->lpVtbl -> GetStart(This,pcpFirst)
- #define ITextSelection_SetStart(This,cpFirst)
- (This)->lpVtbl -> SetStart(This,cpFirst)
- #define ITextSelection_GetEnd(This,pcpLim)
- (This)->lpVtbl -> GetEnd(This,pcpLim)
- #define ITextSelection_SetEnd(This,cpLim)
- (This)->lpVtbl -> SetEnd(This,cpLim)
- #define ITextSelection_GetFont(This,pFont)
- (This)->lpVtbl -> GetFont(This,pFont)
- #define ITextSelection_SetFont(This,pFont)
- (This)->lpVtbl -> SetFont(This,pFont)
- #define ITextSelection_GetPara(This,pPara)
- (This)->lpVtbl -> GetPara(This,pPara)
- #define ITextSelection_SetPara(This,pPara)
- (This)->lpVtbl -> SetPara(This,pPara)
- #define ITextSelection_GetStoryLength(This,pcch)
- (This)->lpVtbl -> GetStoryLength(This,pcch)
- #define ITextSelection_GetStoryType(This,pValue)
- (This)->lpVtbl -> GetStoryType(This,pValue)
- #define ITextSelection_Collapse(This,bStart)
- (This)->lpVtbl -> Collapse(This,bStart)
- #define ITextSelection_Expand(This,Unit,pDelta)
- (This)->lpVtbl -> Expand(This,Unit,pDelta)
- #define ITextSelection_GetIndex(This,Unit,pIndex)
- (This)->lpVtbl -> GetIndex(This,Unit,pIndex)
- #define ITextSelection_SetIndex(This,Unit,Index,Extend)
- (This)->lpVtbl -> SetIndex(This,Unit,Index,Extend)
- #define ITextSelection_SetRange(This,cpActive,cpOther)
- (This)->lpVtbl -> SetRange(This,cpActive,cpOther)
- #define ITextSelection_InRange(This,pRange,pb)
- (This)->lpVtbl -> InRange(This,pRange,pb)
- #define ITextSelection_InStory(This,pRange,pb)
- (This)->lpVtbl -> InStory(This,pRange,pb)
- #define ITextSelection_IsEqual(This,pRange,pb)
- (This)->lpVtbl -> IsEqual(This,pRange,pb)
- #define ITextSelection_Select(This)
- (This)->lpVtbl -> Select(This)
- #define ITextSelection_StartOf(This,Unit,Extend,pDelta)
- (This)->lpVtbl -> StartOf(This,Unit,Extend,pDelta)
- #define ITextSelection_EndOf(This,Unit,Extend,pDelta)
- (This)->lpVtbl -> EndOf(This,Unit,Extend,pDelta)
- #define ITextSelection_Move(This,Unit,Count,pDelta)
- (This)->lpVtbl -> Move(This,Unit,Count,pDelta)
- #define ITextSelection_MoveStart(This,Unit,Count,pDelta)
- (This)->lpVtbl -> MoveStart(This,Unit,Count,pDelta)
- #define ITextSelection_MoveEnd(This,Unit,Count,pDelta)
- (This)->lpVtbl -> MoveEnd(This,Unit,Count,pDelta)
- #define ITextSelection_MoveWhile(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveWhile(This,Cset,Count,pDelta)
- #define ITextSelection_MoveStartWhile(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveStartWhile(This,Cset,Count,pDelta)
- #define ITextSelection_MoveEndWhile(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveEndWhile(This,Cset,Count,pDelta)
- #define ITextSelection_MoveUntil(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveUntil(This,Cset,Count,pDelta)
- #define ITextSelection_MoveStartUntil(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveStartUntil(This,Cset,Count,pDelta)
- #define ITextSelection_MoveEndUntil(This,Cset,Count,pDelta)
- (This)->lpVtbl -> MoveEndUntil(This,Cset,Count,pDelta)
- #define ITextSelection_FindText(This,bstr,cch,Flags,pLength)
- (This)->lpVtbl -> FindText(This,bstr,cch,Flags,pLength)
- #define ITextSelection_FindTextStart(This,bstr,cch,Flags,pLength)
- (This)->lpVtbl -> FindTextStart(This,bstr,cch,Flags,pLength)
- #define ITextSelection_FindTextEnd(This,bstr,cch,Flags,pLength)
- (This)->lpVtbl -> FindTextEnd(This,bstr,cch,Flags,pLength)
- #define ITextSelection_Delete(This,Unit,Count,pDelta)
- (This)->lpVtbl -> Delete(This,Unit,Count,pDelta)
- #define ITextSelection_Cut(This,pVar)
- (This)->lpVtbl -> Cut(This,pVar)
- #define ITextSelection_Copy(This,pVar)
- (This)->lpVtbl -> Copy(This,pVar)
- #define ITextSelection_Paste(This,pVar,Format)
- (This)->lpVtbl -> Paste(This,pVar,Format)
- #define ITextSelection_CanPaste(This,pVar,Format,pb)
- (This)->lpVtbl -> CanPaste(This,pVar,Format,pb)
- #define ITextSelection_CanEdit(This,pbCanEdit)
- (This)->lpVtbl -> CanEdit(This,pbCanEdit)
- #define ITextSelection_ChangeCase(This,Type)
- (This)->lpVtbl -> ChangeCase(This,Type)
- #define ITextSelection_GetPoint(This,Type,px,py)
- (This)->lpVtbl -> GetPoint(This,Type,px,py)
- #define ITextSelection_SetPoint(This,x,y,Type,Extend)
- (This)->lpVtbl -> SetPoint(This,x,y,Type,Extend)
- #define ITextSelection_ScrollIntoView(This,Value)
- (This)->lpVtbl -> ScrollIntoView(This,Value)
- #define ITextSelection_GetEmbeddedObject(This,ppv)
- (This)->lpVtbl -> GetEmbeddedObject(This,ppv)
- #define ITextSelection_GetFlags(This,pFlags)
- (This)->lpVtbl -> GetFlags(This,pFlags)
- #define ITextSelection_SetFlags(This,Flags)
- (This)->lpVtbl -> SetFlags(This,Flags)
- #define ITextSelection_GetType(This,pType)
- (This)->lpVtbl -> GetType(This,pType)
- #define ITextSelection_MoveLeft(This,Unit,Count,Extend,pDelta)
- (This)->lpVtbl -> MoveLeft(This,Unit,Count,Extend,pDelta)
- #define ITextSelection_MoveRight(This,Unit,Count,Extend,pDelta)
- (This)->lpVtbl -> MoveRight(This,Unit,Count,Extend,pDelta)
- #define ITextSelection_MoveUp(This,Unit,Count,Extend,pDelta)
- (This)->lpVtbl -> MoveUp(This,Unit,Count,Extend,pDelta)
- #define ITextSelection_MoveDown(This,Unit,Count,Extend,pDelta)
- (This)->lpVtbl -> MoveDown(This,Unit,Count,Extend,pDelta)
- #define ITextSelection_HomeKey(This,Unit,Extend,pDelta)
- (This)->lpVtbl -> HomeKey(This,Unit,Extend,pDelta)
- #define ITextSelection_EndKey(This,Unit,Extend,pDelta)
- (This)->lpVtbl -> EndKey(This,Unit,Extend,pDelta)
- #define ITextSelection_TypeText(This,bstr)
- (This)->lpVtbl -> TypeText(This,bstr)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextSelection_GetFlags_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pFlags);
- void __RPC_STUB ITextSelection_GetFlags_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextSelection_SetFlags_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [in] */ LONG Flags);
- void __RPC_STUB ITextSelection_SetFlags_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextSelection_GetType_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pType);
- void __RPC_STUB ITextSelection_GetType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_MoveLeft_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextSelection_MoveLeft_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_MoveRight_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextSelection_MoveRight_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_MoveUp_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextSelection_MoveUp_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_MoveDown_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Count,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextSelection_MoveDown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_HomeKey_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextSelection_HomeKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_EndKey_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [in] */ long Unit,
- /* [in] */ long Extend,
- /* [retval][out] */ long __RPC_FAR *pDelta);
- void __RPC_STUB ITextSelection_EndKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_TypeText_Proxy(
- ITextSelection __RPC_FAR * This,
- /* [in] */ BSTR bstr);
- void __RPC_STUB ITextSelection_TypeText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITextSelection_INTERFACE_DEFINED__ */
- #ifndef __ITextFont_INTERFACE_DEFINED__
- #define __ITextFont_INTERFACE_DEFINED__
- /* interface ITextFont */
- /* [object][nonextensible][dual][version][uuid] */
- EXTERN_C const IID IID_ITextFont;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8CC497C3-A1DF-11ce-8098-00AA0047BE5D")
- ITextFont : public IDispatch
- {
- public:
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetDuplicate(
- /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *ppFont) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetDuplicate(
- /* [in] */ ITextFont __RPC_FAR *pFont) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE CanChange(
- /* [retval][out] */ long __RPC_FAR *pB) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsEqual(
- /* [in] */ ITextFont __RPC_FAR *pFont,
- /* [retval][out] */ long __RPC_FAR *pB) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Reset(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStyle(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetStyle(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetAllCaps(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetAllCaps(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetAnimation(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetAnimation(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetBackColor(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetBackColor(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetBold(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetBold(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetEmboss(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetEmboss(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetForeColor(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetForeColor(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetHidden(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetHidden(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetEngrave(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetEngrave(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetItalic(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetItalic(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetKerning(
- /* [retval][out] */ float __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetKerning(
- /* [in] */ float Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetLanguageID(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetLanguageID(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetName(
- /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetName(
- /* [in] */ BSTR bstr) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetOutline(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetOutline(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetPosition(
- /* [retval][out] */ float __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetPosition(
- /* [in] */ float Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetProtected(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetProtected(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetShadow(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetShadow(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSize(
- /* [retval][out] */ float __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSize(
- /* [in] */ float Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSmallCaps(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSmallCaps(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSpacing(
- /* [retval][out] */ float __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSpacing(
- /* [in] */ float Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStrikeThrough(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetStrikeThrough(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSubscript(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSubscript(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSuperscript(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSuperscript(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetUnderline(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetUnderline(
- /* [in] */ long Value) = 0;
-
- virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetWeight(
- /* [retval][out] */ long __RPC_FAR *pValue) = 0;
-
- virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetWeight(
- /* [in] */ long Value) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITextFontVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- ITextFont __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- ITextFont __RPC_FAR * This);
-
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- ITextFont __RPC_FAR * This);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
- ITextFont __RPC_FAR * This,
- /* [out] */ UINT __RPC_FAR *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
- ITextFont __RPC_FAR * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
- ITextFont __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 )(
- ITextFont __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 *GetDuplicate )(
- ITextFont __RPC_FAR * This,
- /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *ppFont);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDuplicate )(
- ITextFont __RPC_FAR * This,
- /* [in] */ ITextFont __RPC_FAR *pFont);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanChange )(
- ITextFont __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pB);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
- ITextFont __RPC_FAR * This,
- /* [in] */ ITextFont __RPC_FAR *pFont,
- /* [retval][out] */ long __RPC_FAR *pB);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
- ITextFont __RPC_FAR * This,
- /* [in] */ long Value);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStyle )(
- ITextFont __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pValue);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStyle )(
- ITextFont __RPC_FAR * This,
- /* [in] */ long Value);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAllCaps )(
- ITextFont __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *pValue);
-
- /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAllCaps )(
- ITextFont __RPC_FAR * This,
- /* [in] */ long Value);
-
- /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAnimation )(
- ITextFont __RPC_FAR * This,