/LIBS/Extensions/inc/singlefileeditor.h
C++ Header | 3643 lines | 2329 code | 1224 blank | 90 comment | 24 complexity | c3e1ad9b98b82c322f614b76b2f55154 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.0
Large files files are truncated, but you can click here to view the full file
-
-
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 7.00.0499 */
- /* Compiler settings for singlefileeditor.idl:
- Oicf, W0, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
-
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
-
-
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
-
- /* verify that the <rpcsal.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCSAL_H_VERSION__
- #define __REQUIRED_RPCSAL_H_VERSION__ 100
- #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 __singlefileeditor_h__
- #define __singlefileeditor_h__
-
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
-
- /* Forward Declarations */
-
- #ifndef __IVsIntellisenseHost_FWD_DEFINED__
- #define __IVsIntellisenseHost_FWD_DEFINED__
- typedef interface IVsIntellisenseHost IVsIntellisenseHost;
- #endif /* __IVsIntellisenseHost_FWD_DEFINED__ */
-
-
- #ifndef __IVsTextViewIntellisenseHost_FWD_DEFINED__
- #define __IVsTextViewIntellisenseHost_FWD_DEFINED__
- typedef interface IVsTextViewIntellisenseHost IVsTextViewIntellisenseHost;
- #endif /* __IVsTextViewIntellisenseHost_FWD_DEFINED__ */
-
-
- #ifndef __IVsTextViewIntellisenseHostProvider_FWD_DEFINED__
- #define __IVsTextViewIntellisenseHostProvider_FWD_DEFINED__
- typedef interface IVsTextViewIntellisenseHostProvider IVsTextViewIntellisenseHostProvider;
- #endif /* __IVsTextViewIntellisenseHostProvider_FWD_DEFINED__ */
-
-
- #ifndef __VsIntellisenseCompletor_FWD_DEFINED__
- #define __VsIntellisenseCompletor_FWD_DEFINED__
-
- #ifdef __cplusplus
- typedef class VsIntellisenseCompletor VsIntellisenseCompletor;
- #else
- typedef struct VsIntellisenseCompletor VsIntellisenseCompletor;
- #endif /* __cplusplus */
-
- #endif /* __VsIntellisenseCompletor_FWD_DEFINED__ */
-
-
- #ifndef __IVsIntellisenseCompletor_FWD_DEFINED__
- #define __IVsIntellisenseCompletor_FWD_DEFINED__
- typedef interface IVsIntellisenseCompletor IVsIntellisenseCompletor;
- #endif /* __IVsIntellisenseCompletor_FWD_DEFINED__ */
-
-
- #ifndef __VsIntellisenseLangTip_FWD_DEFINED__
- #define __VsIntellisenseLangTip_FWD_DEFINED__
-
- #ifdef __cplusplus
- typedef class VsIntellisenseLangTip VsIntellisenseLangTip;
- #else
- typedef struct VsIntellisenseLangTip VsIntellisenseLangTip;
- #endif /* __cplusplus */
-
- #endif /* __VsIntellisenseLangTip_FWD_DEFINED__ */
-
-
- #ifndef __IVsIntellisenseLangTip_FWD_DEFINED__
- #define __IVsIntellisenseLangTip_FWD_DEFINED__
- typedef interface IVsIntellisenseLangTip IVsIntellisenseLangTip;
- #endif /* __IVsIntellisenseLangTip_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedLanguageHost_FWD_DEFINED__
- #define __IVsContainedLanguageHost_FWD_DEFINED__
- typedef interface IVsContainedLanguageHost IVsContainedLanguageHost;
- #endif /* __IVsContainedLanguageHost_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedLanguageHostEvents_FWD_DEFINED__
- #define __IVsContainedLanguageHostEvents_FWD_DEFINED__
- typedef interface IVsContainedLanguageHostEvents IVsContainedLanguageHostEvents;
- #endif /* __IVsContainedLanguageHostEvents_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedLanguage_FWD_DEFINED__
- #define __IVsContainedLanguage_FWD_DEFINED__
- typedef interface IVsContainedLanguage IVsContainedLanguage;
- #endif /* __IVsContainedLanguage_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedLanguageColorizer_FWD_DEFINED__
- #define __IVsContainedLanguageColorizer_FWD_DEFINED__
- typedef interface IVsContainedLanguageColorizer IVsContainedLanguageColorizer;
- #endif /* __IVsContainedLanguageColorizer_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedLanguageCodeSupport_FWD_DEFINED__
- #define __IVsContainedLanguageCodeSupport_FWD_DEFINED__
- typedef interface IVsContainedLanguageCodeSupport IVsContainedLanguageCodeSupport;
- #endif /* __IVsContainedLanguageCodeSupport_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedLanguageStaticEventBinding_FWD_DEFINED__
- #define __IVsContainedLanguageStaticEventBinding_FWD_DEFINED__
- typedef interface IVsContainedLanguageStaticEventBinding IVsContainedLanguageStaticEventBinding;
- #endif /* __IVsContainedLanguageStaticEventBinding_FWD_DEFINED__ */
-
-
- #ifndef __IVsWebFormDesignerSupport_FWD_DEFINED__
- #define __IVsWebFormDesignerSupport_FWD_DEFINED__
- typedef interface IVsWebFormDesignerSupport IVsWebFormDesignerSupport;
- #endif /* __IVsWebFormDesignerSupport_FWD_DEFINED__ */
-
-
- #ifndef __IVsEnumCodeBlocks_FWD_DEFINED__
- #define __IVsEnumCodeBlocks_FWD_DEFINED__
- typedef interface IVsEnumCodeBlocks IVsEnumCodeBlocks;
- #endif /* __IVsEnumCodeBlocks_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedCode_FWD_DEFINED__
- #define __IVsContainedCode_FWD_DEFINED__
- typedef interface IVsContainedCode IVsContainedCode;
- #endif /* __IVsContainedCode_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedLanguageFactory_FWD_DEFINED__
- #define __IVsContainedLanguageFactory_FWD_DEFINED__
- typedef interface IVsContainedLanguageFactory IVsContainedLanguageFactory;
- #endif /* __IVsContainedLanguageFactory_FWD_DEFINED__ */
-
-
- #ifndef __IVsContainedLanguageProjectNameProvider_FWD_DEFINED__
- #define __IVsContainedLanguageProjectNameProvider_FWD_DEFINED__
- typedef interface IVsContainedLanguageProjectNameProvider IVsContainedLanguageProjectNameProvider;
- #endif /* __IVsContainedLanguageProjectNameProvider_FWD_DEFINED__ */
-
-
- #ifndef __IVsEnumBufferCoordinatorSpans_FWD_DEFINED__
- #define __IVsEnumBufferCoordinatorSpans_FWD_DEFINED__
- typedef interface IVsEnumBufferCoordinatorSpans IVsEnumBufferCoordinatorSpans;
- #endif /* __IVsEnumBufferCoordinatorSpans_FWD_DEFINED__ */
-
-
- #ifndef __VsTextBufferCoordinator_FWD_DEFINED__
- #define __VsTextBufferCoordinator_FWD_DEFINED__
-
- #ifdef __cplusplus
- typedef class VsTextBufferCoordinator VsTextBufferCoordinator;
- #else
- typedef struct VsTextBufferCoordinator VsTextBufferCoordinator;
- #endif /* __cplusplus */
-
- #endif /* __VsTextBufferCoordinator_FWD_DEFINED__ */
-
-
- #ifndef __IVsTextBufferCoordinator_FWD_DEFINED__
- #define __IVsTextBufferCoordinator_FWD_DEFINED__
- typedef interface IVsTextBufferCoordinator IVsTextBufferCoordinator;
- #endif /* __IVsTextBufferCoordinator_FWD_DEFINED__ */
-
-
- #ifndef __IVsSetSpanMappingEvents_FWD_DEFINED__
- #define __IVsSetSpanMappingEvents_FWD_DEFINED__
- typedef interface IVsSetSpanMappingEvents IVsSetSpanMappingEvents;
- #endif /* __IVsSetSpanMappingEvents_FWD_DEFINED__ */
-
-
- #ifndef __IVsExternalCompletionSet_FWD_DEFINED__
- #define __IVsExternalCompletionSet_FWD_DEFINED__
- typedef interface IVsExternalCompletionSet IVsExternalCompletionSet;
- #endif /* __IVsExternalCompletionSet_FWD_DEFINED__ */
-
-
- #ifndef __IVsExpansionIntellisenseHost_FWD_DEFINED__
- #define __IVsExpansionIntellisenseHost_FWD_DEFINED__
- typedef interface IVsExpansionIntellisenseHost IVsExpansionIntellisenseHost;
- #endif /* __IVsExpansionIntellisenseHost_FWD_DEFINED__ */
-
-
- #ifndef __IVsReportExternalErrors_FWD_DEFINED__
- #define __IVsReportExternalErrors_FWD_DEFINED__
- typedef interface IVsReportExternalErrors IVsReportExternalErrors;
- #endif /* __IVsReportExternalErrors_FWD_DEFINED__ */
-
-
- #ifndef __IVsEnumExternalErrors_FWD_DEFINED__
- #define __IVsEnumExternalErrors_FWD_DEFINED__
- typedef interface IVsEnumExternalErrors IVsEnumExternalErrors;
- #endif /* __IVsEnumExternalErrors_FWD_DEFINED__ */
-
-
- /* header files for imported files */
- #include "oaidl.h"
- #include "oleidl.h"
- #include "textmgr.h"
- #include "textmgr2.h"
- #include "vsshell.h"
-
- #ifdef __cplusplus
- extern "C"{
- #endif
-
-
- /* interface __MIDL_itf_singlefileeditor_0000_0000 */
- /* [local] */
-
- #pragma once
-
-
-
-
-
-
-
-
-
-
-
-
-
- typedef struct _TEXTSPANPAIR
- {
- TextSpan span1;
- TextSpan span2;
- } TextSpanPair;
-
- typedef struct _TEXTSPANANDCOOKIE
- {
- ULONG ulHTMLCookie;
- TextSpan CodeSpan;
- } TextSpanAndCookie;
-
-
- enum IntellisenseHostFlags
- { IHF_READONLYCONTEXT = 0x1,
- IHF_NOSEPARATESUBJECT = 0x2,
- IHF_SINGLELINESUBJECT = 0x4,
- IHF_FORCECOMMITTOCONTEXT = 0x8,
- IHF_OVERTYPE = 0x10
- } ;
- typedef
- enum _CODEMEMBERTYPE
- { CODEMEMBERTYPE_EVENTS = 0x1,
- CODEMEMBERTYPE_EVENT_HANDLERS = 0x2,
- CODEMEMBERTYPE_USER_FUNCTIONS = 0x4
- } CODEMEMBERTYPE;
-
-
- enum ContainedLanguageRefreshMode
- { CLRM_COMPILEFILE = 1,
- CLRM_COMPILEPROJECT = 2
- } ;
- typedef
- enum _CONTAINEDLANGUAGERENAMETYPE
- { CLRT_CLASS = 0,
- CLRT_CLASSMEMBER = ( CLRT_CLASS + 1 ) ,
- CLRT_NAMESPACE = ( CLRT_CLASSMEMBER + 1 ) ,
- CLRT_OTHER = ( CLRT_NAMESPACE + 1 )
- } ContainedLanguageRenameType;
-
-
-
- extern RPC_IF_HANDLE __MIDL_itf_singlefileeditor_0000_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_singlefileeditor_0000_0000_v0_0_s_ifspec;
-
-
- #ifndef __SingleFileEditor_LIBRARY_DEFINED__
- #define __SingleFileEditor_LIBRARY_DEFINED__
-
- /* library SingleFileEditor */
- /* [version][uuid] */
-
- #define E_CONTAINEDLANGUAGE_CANNOTFINDITEM MAKE_HRESULT(1, FACILITY_ITF, 0x8003)
- #define E_CONTAINEDLANGUAGE_RENAMECANCELLED MAKE_HRESULT(1, FACILITY_ITF, 0x8004)
- typedef struct _tag_NewSpanMapping
- {
- TextSpanPair tspSpans;
- VARIANT varUserData;
- } NewSpanMapping;
-
- typedef struct _tag_ExternalError
- {
- long iLine;
- long iCol;
- long iErrorID;
- BOOL fError;
- BSTR bstrText;
- BSTR bstrFileName;
- } ExternalError;
-
-
- enum BufferCoordinatorReplicationDirection
- { BCRD_PRIMARY_TO_SECONDARY = 1,
- BCRD_SECONDARY_TO_PRIMARY = 2
- } ;
-
- enum _BufferCoordinatorMappingMode
- { BCMM_NORMAL = 0,
- BCMM_EXTENDEDLEFT = 0x2,
- BCMM_EXTENDEDRIGHT = 0x1,
- BCMM_EXTENDED = 0x3,
- BCMM_ENTIREBUFFER = 0x4
- } ;
- typedef DWORD BufferCoordinatorMappingMode;
-
-
- EXTERN_C const IID LIBID_SingleFileEditor;
-
- #ifndef __IVsIntellisenseHost_INTERFACE_DEFINED__
- #define __IVsIntellisenseHost_INTERFACE_DEFINED__
-
- /* interface IVsIntellisenseHost */
- /* [object][uuid] */
-
-
- EXTERN_C const IID IID_IVsIntellisenseHost;
-
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0377986B-C450-453c-A7BE-67116C9129A6")
- IVsIntellisenseHost : public IOleCommandTarget
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetHostFlags(
- /* [retval][out] */ __RPC__out DWORD *pdwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContextBuffer(
- /* [retval][out] */ __RPC__deref_out_opt IVsTextLines **ppCtxBuffer) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContextFocalPoint(
- /* [out] */ __RPC__out TextSpan *pSpan,
- __RPC__in long *piLen) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetContextCaretPos(
- /* [in] */ long iLine,
- /* [in] */ long iIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContextCaretPos(
- /* [out] */ __RPC__out long *piLine,
- /* [out] */ __RPC__out long *piIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetContextSelection(
- /* [in] */ long iStartLine,
- /* [in] */ long iStartIndex,
- /* [in] */ long iEndLine,
- /* [in] */ long iEndIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContextSelection(
- /* [out] */ __RPC__out TextSpan *pSelectionSpan) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSubjectText(
- /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubjectText) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSubjectCaretPos(
- /* [in] */ long iIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSubjectCaretPos(
- /* [out] */ __RPC__out long *piIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSubjectSelection(
- /* [in] */ long iAnchorIndex,
- /* [in] */ long iEndIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSubjectSelection(
- /* [out] */ __RPC__out long *piAnchorIndex,
- /* [out] */ __RPC__out long *piEndIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ReplaceSubjectTextSpan(
- /* [in] */ long iStartIndex,
- /* [in] */ long iEndIndex,
- /* [in] */ __RPC__in LPCWSTR pszText) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UpdateCompletionStatus(
- /* [in] */ __RPC__in_opt IVsCompletionSet *pCompSet,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UpdateTipWindow(
- /* [in] */ __RPC__in_opt IVsTipWindow *pTipWindow,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE HighlightMatchingBrace(
- /* [in] */ DWORD dwFlags,
- /* [in] */ ULONG cSpans,
- /* [size_is][in] */ __RPC__in_ecount_full(cSpans) TextSpan *rgBaseSpans) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE BeforeCompletorCommit( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AfterCompletorCommit( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetServiceProvider(
- /* [out] */ __RPC__deref_out_opt IServiceProvider **ppSP) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetHostWindow(
- /* [out] */ __RPC__deref_out_opt HWND *hwnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetContextLocation(
- /* [in] */ long iPos,
- /* [in] */ long iLen,
- /* [in] */ BOOL fUseCaretPosition,
- /* [out] */ __RPC__out RECT *prc,
- /* [out] */ __RPC__out long *piTopX) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UpdateSmartTagWindow(
- /* [in] */ __RPC__in_opt IVsSmartTagTipWindow *pSmartTagWnd,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSmartTagRect(
- /* [out] */ __RPC__out RECT *rcSmartTag) = 0;
-
- };
-
- #else /* C style interface */
-
- typedef struct IVsIntellisenseHostVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IVsIntellisenseHost * This,
- /* [in] */ __RPC__in REFIID riid,
- /* [iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IVsIntellisenseHost * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IVsIntellisenseHost * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *QueryStatus )(
- IVsIntellisenseHost * This,
- /* [unique][in] */ __RPC__in_opt const GUID *pguidCmdGroup,
- /* [in] */ ULONG cCmds,
- /* [out][in][size_is] */ __RPC__inout_ecount_full(cCmds) OLECMD prgCmds[ ],
- /* [unique][out][in] */ __RPC__inout_opt OLECMDTEXT *pCmdText);
-
- HRESULT ( STDMETHODCALLTYPE *Exec )(
- IVsIntellisenseHost * This,
- /* [unique][in] */ __RPC__in_opt const GUID *pguidCmdGroup,
- /* [in] */ DWORD nCmdID,
- /* [in] */ DWORD nCmdexecopt,
- /* [unique][in] */ __RPC__in_opt VARIANT *pvaIn,
- /* [unique][out][in] */ __RPC__inout_opt VARIANT *pvaOut);
-
- HRESULT ( STDMETHODCALLTYPE *GetHostFlags )(
- IVsIntellisenseHost * This,
- /* [retval][out] */ __RPC__out DWORD *pdwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextBuffer )(
- IVsIntellisenseHost * This,
- /* [retval][out] */ __RPC__deref_out_opt IVsTextLines **ppCtxBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextFocalPoint )(
- IVsIntellisenseHost * This,
- /* [out] */ __RPC__out TextSpan *pSpan,
- __RPC__in long *piLen);
-
- HRESULT ( STDMETHODCALLTYPE *SetContextCaretPos )(
- IVsIntellisenseHost * This,
- /* [in] */ long iLine,
- /* [in] */ long iIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextCaretPos )(
- IVsIntellisenseHost * This,
- /* [out] */ __RPC__out long *piLine,
- /* [out] */ __RPC__out long *piIndex);
-
- HRESULT ( STDMETHODCALLTYPE *SetContextSelection )(
- IVsIntellisenseHost * This,
- /* [in] */ long iStartLine,
- /* [in] */ long iStartIndex,
- /* [in] */ long iEndLine,
- /* [in] */ long iEndIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextSelection )(
- IVsIntellisenseHost * This,
- /* [out] */ __RPC__out TextSpan *pSelectionSpan);
-
- HRESULT ( STDMETHODCALLTYPE *GetSubjectText )(
- IVsIntellisenseHost * This,
- /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubjectText);
-
- HRESULT ( STDMETHODCALLTYPE *SetSubjectCaretPos )(
- IVsIntellisenseHost * This,
- /* [in] */ long iIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetSubjectCaretPos )(
- IVsIntellisenseHost * This,
- /* [out] */ __RPC__out long *piIndex);
-
- HRESULT ( STDMETHODCALLTYPE *SetSubjectSelection )(
- IVsIntellisenseHost * This,
- /* [in] */ long iAnchorIndex,
- /* [in] */ long iEndIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetSubjectSelection )(
- IVsIntellisenseHost * This,
- /* [out] */ __RPC__out long *piAnchorIndex,
- /* [out] */ __RPC__out long *piEndIndex);
-
- HRESULT ( STDMETHODCALLTYPE *ReplaceSubjectTextSpan )(
- IVsIntellisenseHost * This,
- /* [in] */ long iStartIndex,
- /* [in] */ long iEndIndex,
- /* [in] */ __RPC__in LPCWSTR pszText);
-
- HRESULT ( STDMETHODCALLTYPE *UpdateCompletionStatus )(
- IVsIntellisenseHost * This,
- /* [in] */ __RPC__in_opt IVsCompletionSet *pCompSet,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *UpdateTipWindow )(
- IVsIntellisenseHost * This,
- /* [in] */ __RPC__in_opt IVsTipWindow *pTipWindow,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *HighlightMatchingBrace )(
- IVsIntellisenseHost * This,
- /* [in] */ DWORD dwFlags,
- /* [in] */ ULONG cSpans,
- /* [size_is][in] */ __RPC__in_ecount_full(cSpans) TextSpan *rgBaseSpans);
-
- HRESULT ( STDMETHODCALLTYPE *BeforeCompletorCommit )(
- IVsIntellisenseHost * This);
-
- HRESULT ( STDMETHODCALLTYPE *AfterCompletorCommit )(
- IVsIntellisenseHost * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetServiceProvider )(
- IVsIntellisenseHost * This,
- /* [out] */ __RPC__deref_out_opt IServiceProvider **ppSP);
-
- HRESULT ( STDMETHODCALLTYPE *GetHostWindow )(
- IVsIntellisenseHost * This,
- /* [out] */ __RPC__deref_out_opt HWND *hwnd);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextLocation )(
- IVsIntellisenseHost * This,
- /* [in] */ long iPos,
- /* [in] */ long iLen,
- /* [in] */ BOOL fUseCaretPosition,
- /* [out] */ __RPC__out RECT *prc,
- /* [out] */ __RPC__out long *piTopX);
-
- HRESULT ( STDMETHODCALLTYPE *UpdateSmartTagWindow )(
- IVsIntellisenseHost * This,
- /* [in] */ __RPC__in_opt IVsSmartTagTipWindow *pSmartTagWnd,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetSmartTagRect )(
- IVsIntellisenseHost * This,
- /* [out] */ __RPC__out RECT *rcSmartTag);
-
- END_INTERFACE
- } IVsIntellisenseHostVtbl;
-
- interface IVsIntellisenseHost
- {
- CONST_VTBL struct IVsIntellisenseHostVtbl *lpVtbl;
- };
-
-
-
- #ifdef COBJMACROS
-
-
- #define IVsIntellisenseHost_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
-
- #define IVsIntellisenseHost_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
-
- #define IVsIntellisenseHost_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
-
-
- #define IVsIntellisenseHost_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) \
- ( (This)->lpVtbl -> QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) )
-
- #define IVsIntellisenseHost_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) \
- ( (This)->lpVtbl -> Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) )
-
-
- #define IVsIntellisenseHost_GetHostFlags(This,pdwFlags) \
- ( (This)->lpVtbl -> GetHostFlags(This,pdwFlags) )
-
- #define IVsIntellisenseHost_GetContextBuffer(This,ppCtxBuffer) \
- ( (This)->lpVtbl -> GetContextBuffer(This,ppCtxBuffer) )
-
- #define IVsIntellisenseHost_GetContextFocalPoint(This,pSpan,piLen) \
- ( (This)->lpVtbl -> GetContextFocalPoint(This,pSpan,piLen) )
-
- #define IVsIntellisenseHost_SetContextCaretPos(This,iLine,iIndex) \
- ( (This)->lpVtbl -> SetContextCaretPos(This,iLine,iIndex) )
-
- #define IVsIntellisenseHost_GetContextCaretPos(This,piLine,piIndex) \
- ( (This)->lpVtbl -> GetContextCaretPos(This,piLine,piIndex) )
-
- #define IVsIntellisenseHost_SetContextSelection(This,iStartLine,iStartIndex,iEndLine,iEndIndex) \
- ( (This)->lpVtbl -> SetContextSelection(This,iStartLine,iStartIndex,iEndLine,iEndIndex) )
-
- #define IVsIntellisenseHost_GetContextSelection(This,pSelectionSpan) \
- ( (This)->lpVtbl -> GetContextSelection(This,pSelectionSpan) )
-
- #define IVsIntellisenseHost_GetSubjectText(This,pbstrSubjectText) \
- ( (This)->lpVtbl -> GetSubjectText(This,pbstrSubjectText) )
-
- #define IVsIntellisenseHost_SetSubjectCaretPos(This,iIndex) \
- ( (This)->lpVtbl -> SetSubjectCaretPos(This,iIndex) )
-
- #define IVsIntellisenseHost_GetSubjectCaretPos(This,piIndex) \
- ( (This)->lpVtbl -> GetSubjectCaretPos(This,piIndex) )
-
- #define IVsIntellisenseHost_SetSubjectSelection(This,iAnchorIndex,iEndIndex) \
- ( (This)->lpVtbl -> SetSubjectSelection(This,iAnchorIndex,iEndIndex) )
-
- #define IVsIntellisenseHost_GetSubjectSelection(This,piAnchorIndex,piEndIndex) \
- ( (This)->lpVtbl -> GetSubjectSelection(This,piAnchorIndex,piEndIndex) )
-
- #define IVsIntellisenseHost_ReplaceSubjectTextSpan(This,iStartIndex,iEndIndex,pszText) \
- ( (This)->lpVtbl -> ReplaceSubjectTextSpan(This,iStartIndex,iEndIndex,pszText) )
-
- #define IVsIntellisenseHost_UpdateCompletionStatus(This,pCompSet,dwFlags) \
- ( (This)->lpVtbl -> UpdateCompletionStatus(This,pCompSet,dwFlags) )
-
- #define IVsIntellisenseHost_UpdateTipWindow(This,pTipWindow,dwFlags) \
- ( (This)->lpVtbl -> UpdateTipWindow(This,pTipWindow,dwFlags) )
-
- #define IVsIntellisenseHost_HighlightMatchingBrace(This,dwFlags,cSpans,rgBaseSpans) \
- ( (This)->lpVtbl -> HighlightMatchingBrace(This,dwFlags,cSpans,rgBaseSpans) )
-
- #define IVsIntellisenseHost_BeforeCompletorCommit(This) \
- ( (This)->lpVtbl -> BeforeCompletorCommit(This) )
-
- #define IVsIntellisenseHost_AfterCompletorCommit(This) \
- ( (This)->lpVtbl -> AfterCompletorCommit(This) )
-
- #define IVsIntellisenseHost_GetServiceProvider(This,ppSP) \
- ( (This)->lpVtbl -> GetServiceProvider(This,ppSP) )
-
- #define IVsIntellisenseHost_GetHostWindow(This,hwnd) \
- ( (This)->lpVtbl -> GetHostWindow(This,hwnd) )
-
- #define IVsIntellisenseHost_GetContextLocation(This,iPos,iLen,fUseCaretPosition,prc,piTopX) \
- ( (This)->lpVtbl -> GetContextLocation(This,iPos,iLen,fUseCaretPosition,prc,piTopX) )
-
- #define IVsIntellisenseHost_UpdateSmartTagWindow(This,pSmartTagWnd,dwFlags) \
- ( (This)->lpVtbl -> UpdateSmartTagWindow(This,pSmartTagWnd,dwFlags) )
-
- #define IVsIntellisenseHost_GetSmartTagRect(This,rcSmartTag) \
- ( (This)->lpVtbl -> GetSmartTagRect(This,rcSmartTag) )
-
- #endif /* COBJMACROS */
-
-
- #endif /* C style interface */
-
-
-
-
- #endif /* __IVsIntellisenseHost_INTERFACE_DEFINED__ */
-
-
- #ifndef __IVsTextViewIntellisenseHost_INTERFACE_DEFINED__
- #define __IVsTextViewIntellisenseHost_INTERFACE_DEFINED__
-
- /* interface IVsTextViewIntellisenseHost */
- /* [object][uuid] */
-
-
- EXTERN_C const IID IID_IVsTextViewIntellisenseHost;
-
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("0816A38B-2B41-4d2a-B1FF-23C1E28D8A18")
- IVsTextViewIntellisenseHost : public IVsIntellisenseHost
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetSubjectFromPrimaryBuffer(
- __RPC__in TextSpan *pSpanInPrimary) = 0;
-
- };
-
- #else /* C style interface */
-
- typedef struct IVsTextViewIntellisenseHostVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ __RPC__in REFIID riid,
- /* [iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IVsTextViewIntellisenseHost * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IVsTextViewIntellisenseHost * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *QueryStatus )(
- IVsTextViewIntellisenseHost * This,
- /* [unique][in] */ __RPC__in_opt const GUID *pguidCmdGroup,
- /* [in] */ ULONG cCmds,
- /* [out][in][size_is] */ __RPC__inout_ecount_full(cCmds) OLECMD prgCmds[ ],
- /* [unique][out][in] */ __RPC__inout_opt OLECMDTEXT *pCmdText);
-
- HRESULT ( STDMETHODCALLTYPE *Exec )(
- IVsTextViewIntellisenseHost * This,
- /* [unique][in] */ __RPC__in_opt const GUID *pguidCmdGroup,
- /* [in] */ DWORD nCmdID,
- /* [in] */ DWORD nCmdexecopt,
- /* [unique][in] */ __RPC__in_opt VARIANT *pvaIn,
- /* [unique][out][in] */ __RPC__inout_opt VARIANT *pvaOut);
-
- HRESULT ( STDMETHODCALLTYPE *GetHostFlags )(
- IVsTextViewIntellisenseHost * This,
- /* [retval][out] */ __RPC__out DWORD *pdwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextBuffer )(
- IVsTextViewIntellisenseHost * This,
- /* [retval][out] */ __RPC__deref_out_opt IVsTextLines **ppCtxBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextFocalPoint )(
- IVsTextViewIntellisenseHost * This,
- /* [out] */ __RPC__out TextSpan *pSpan,
- __RPC__in long *piLen);
-
- HRESULT ( STDMETHODCALLTYPE *SetContextCaretPos )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ long iLine,
- /* [in] */ long iIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextCaretPos )(
- IVsTextViewIntellisenseHost * This,
- /* [out] */ __RPC__out long *piLine,
- /* [out] */ __RPC__out long *piIndex);
-
- HRESULT ( STDMETHODCALLTYPE *SetContextSelection )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ long iStartLine,
- /* [in] */ long iStartIndex,
- /* [in] */ long iEndLine,
- /* [in] */ long iEndIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextSelection )(
- IVsTextViewIntellisenseHost * This,
- /* [out] */ __RPC__out TextSpan *pSelectionSpan);
-
- HRESULT ( STDMETHODCALLTYPE *GetSubjectText )(
- IVsTextViewIntellisenseHost * This,
- /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubjectText);
-
- HRESULT ( STDMETHODCALLTYPE *SetSubjectCaretPos )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ long iIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetSubjectCaretPos )(
- IVsTextViewIntellisenseHost * This,
- /* [out] */ __RPC__out long *piIndex);
-
- HRESULT ( STDMETHODCALLTYPE *SetSubjectSelection )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ long iAnchorIndex,
- /* [in] */ long iEndIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetSubjectSelection )(
- IVsTextViewIntellisenseHost * This,
- /* [out] */ __RPC__out long *piAnchorIndex,
- /* [out] */ __RPC__out long *piEndIndex);
-
- HRESULT ( STDMETHODCALLTYPE *ReplaceSubjectTextSpan )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ long iStartIndex,
- /* [in] */ long iEndIndex,
- /* [in] */ __RPC__in LPCWSTR pszText);
-
- HRESULT ( STDMETHODCALLTYPE *UpdateCompletionStatus )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ __RPC__in_opt IVsCompletionSet *pCompSet,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *UpdateTipWindow )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ __RPC__in_opt IVsTipWindow *pTipWindow,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *HighlightMatchingBrace )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ DWORD dwFlags,
- /* [in] */ ULONG cSpans,
- /* [size_is][in] */ __RPC__in_ecount_full(cSpans) TextSpan *rgBaseSpans);
-
- HRESULT ( STDMETHODCALLTYPE *BeforeCompletorCommit )(
- IVsTextViewIntellisenseHost * This);
-
- HRESULT ( STDMETHODCALLTYPE *AfterCompletorCommit )(
- IVsTextViewIntellisenseHost * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetServiceProvider )(
- IVsTextViewIntellisenseHost * This,
- /* [out] */ __RPC__deref_out_opt IServiceProvider **ppSP);
-
- HRESULT ( STDMETHODCALLTYPE *GetHostWindow )(
- IVsTextViewIntellisenseHost * This,
- /* [out] */ __RPC__deref_out_opt HWND *hwnd);
-
- HRESULT ( STDMETHODCALLTYPE *GetContextLocation )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ long iPos,
- /* [in] */ long iLen,
- /* [in] */ BOOL fUseCaretPosition,
- /* [out] */ __RPC__out RECT *prc,
- /* [out] */ __RPC__out long *piTopX);
-
- HRESULT ( STDMETHODCALLTYPE *UpdateSmartTagWindow )(
- IVsTextViewIntellisenseHost * This,
- /* [in] */ __RPC__in_opt IVsSmartTagTipWindow *pSmartTagWnd,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetSmartTagRect )(
- IVsTextViewIntellisenseHost * This,
- /* [out] */ __RPC__out RECT *rcSmartTag);
-
- HRESULT ( STDMETHODCALLTYPE *SetSubjectFromPrimaryBuffer )(
- IVsTextViewIntellisenseHost * This,
- __RPC__in TextSpan *pSpanInPrimary);
-
- END_INTERFACE
- } IVsTextViewIntellisenseHostVtbl;
-
- interface IVsTextViewIntellisenseHost
- {
- CONST_VTBL struct IVsTextViewIntellisenseHostVtbl *lpVtbl;
- };
-
-
-
- #ifdef COBJMACROS
-
-
- #define IVsTextViewIntellisenseHost_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
-
- #define IVsTextViewIntellisenseHost_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
-
- #define IVsTextViewIntellisenseHost_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
-
-
- #define IVsTextViewIntellisenseHost_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) \
- ( (This)->lpVtbl -> QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) )
-
- #define IVsTextViewIntellisenseHost_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) \
- ( (This)->lpVtbl -> Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) )
-
-
- #define IVsTextViewIntellisenseHost_GetHostFlags(This,pdwFlags) \
- ( (This)->lpVtbl -> GetHostFlags(This,pdwFlags) )
-
- #define IVsTextViewIntellisenseHost_GetContextBuffer(This,ppCtxBuffer) \
- ( (This)->lpVtbl -> GetContextBuffer(This,ppCtxBuffer) )
-
- #define IVsTextViewIntellisenseHost_GetContextFocalPoint(This,pSpan,piLen) \
- ( (This)->lpVtbl -> GetContextFocalPoint(This,pSpan,piLen) )
-
- #define IVsTextViewIntellisenseHost_SetContextCaretPos(This,iLine,iIndex) \
- ( (This)->lpVtbl -> SetContextCaretPos(This,iLine,iIndex) )
-
- #define IVsTextViewIntellisenseHost_GetContextCaretPos(This,piLine,piIndex) \
- ( (This)->lpVtbl -> GetContextCaretPos(This,piLine,piIndex) )
-
- #define IVsTextViewIntellisenseHost_SetContextSelection(This,iStartLine,iStartIndex,iEndLine,iEndIndex) \
- ( (This)->lpVtbl -> SetContextSelection(This,iStartLine,iStartIndex,iEndLine,iEndIndex) )
-
- #define IVsTextViewIntellisenseHost_GetContextSelection(This,pSelectionSpan) \
- ( (This)->lpVtbl -> GetContextSelection(This,pSelectionSpan) )
-
- #define IVsTextViewIntellisenseHost_GetSubjectText(This,pbstrSubjectText) \
- ( (This)->lpVtbl -> GetSubjectText(This,pbstrSubjectText) )
-
- #define IVsTextViewIntellisenseHost_SetSubjectCaretPos(This,iIndex) \
- ( (This)->lpVtbl -> SetSubjectCaretPos(This,iIndex) )
-
- #define IVsTextViewIntellisenseHost_GetSubjectCaretPos(This,piIndex) \
- ( (This)->lpVtbl -> GetSubjectCaretPos(This,piIndex) )
-
- #define IVsTextViewIntellisenseHost_SetSubjectSelection(This,iAnchorIndex,iEndIndex) \
- ( (This)->lpVtbl -> SetSubjectSelection(This,iAnchorIndex,iEndIndex) )
-
- #define IVsTextViewIntellisenseHost_GetSubjectSelection(This,piAnchorIndex,piEndIndex) \
- ( (This)->lpVtbl -> GetSubjectSelection(This,piAnchorIndex,piEndIndex) )
-
- #define IVsTextViewIntellisenseHost_ReplaceSubjectTextSpan(This,iStartIndex,iEndIndex,pszText) \
- ( (This)->lpVtbl -> ReplaceSubjectTextSpan(This,iStartIndex,iEndIndex,pszText) )
-
- #define IVsTextViewIntellisenseHost_UpdateCompletionStatus(This,pCompSet,dwFlags) \
- ( (This)->lpVtbl -> UpdateCompletionStatus(This,pCompSet,dwFlags) )
-
- #define IVsTextViewIntellisenseHost_UpdateTipWindow(This,pTipWindow,dwFlags) \
- ( (This)->lpVtbl -> UpdateTipWindow(This,pTipWindow,dwFlags) )
-
- #define IVsTextViewIntellisenseHost_HighlightMatchingBrace(This,dwFlags,cSpans,rgBaseSpans) \
- ( (This)->lpVtbl -> HighlightMatchingBrace(This,dwFlags,cSpans,rgBaseSpans) )
-
- #define IVsTextViewIntellisenseHost_BeforeCompletorCommit(This) \
- ( (This)->lpVtbl -> BeforeCompletorCommit(This) )
-
- #define IVsTextViewIntellisenseHost_AfterCompletorCommit(This) \
- ( (This)->lpVtbl -> AfterCompletorCommit(This) )
-
- #define IVsTextViewIntellisenseHost_GetServiceProvider(This,ppSP) \
- ( (This)->lpVtbl -> GetServiceProvider(This,ppSP) )
-
- #define IVsTextViewIntellisenseHost_GetHostWindow(This,hwnd) \
- ( (This)->lpVtbl -> GetHostWindow(This,hwnd) )
-
- #define IVsTextViewIntellisenseHost_GetContextLocation(This,iPos,iLen,fUseCaretPosition,prc,piTopX) \
- ( (This)->lpVtbl -> GetContextLocation(This,iPos,iLen,fUseCaretPosition,prc,piTopX) )
-
- #define IVsTextViewIntellisenseHost_UpdateSmartTagWindow(This,pSmartTagWnd,dwFlags) \
- ( (This)->lpVtbl -> UpdateSmartTagWindow(This,pSmartTagWnd,dwFlags) )
-
- #define IVsTextViewIntellisenseHost_GetSmartTagRect(This,rcSmartTag) \
- ( (This)->lpVtbl -> GetSmartTagRect(This,rcSmartTag) )
-
-
- #define IVsTextViewIntellisenseHost_SetSubjectFromPrimaryBuffer(This,pSpanInPrimary) \
- ( (This)->lpVtbl -> SetSubjectFromPrimaryBuffer(This,pSpanInPrimary) )
-
- #endif /* COBJMACROS */
-
-
- #endif /* C style interface */
-
-
-
-
- #endif /* __IVsTextViewIntellisenseHost_INTERFACE_DEFINED__ */
-
-
- #ifndef __IVsTextViewIntellisenseHostProvider_INTERFACE_DEFINED__
- #define __IVsTextViewIntellisenseHostProvider_INTERFACE_DEFINED__
-
- /* interface IVsTextViewIntellisenseHostProvider */
- /* [object][uuid] */
-
-
- EXTERN_C const IID IID_IVsTextViewIntellisenseHostProvider;
-
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2E758295-344B-48d6-86AC-BD81F89CB4B8")
- IVsTextViewIntellisenseHostProvider : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CreateIntellisenseHost(
- /* [in] */ __RPC__in_opt IVsTextBufferCoordinator *pBufferCoordinator,
- /* [in] */ __RPC__in REFIID riid,
- /* [iid_is][out] */ __RPC__deref_out_opt void **ppunkHost) = 0;
-
- };
-
- #else /* C style interface */
-
- typedef struct IVsTextViewIntellisenseHostProviderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IVsTextViewIntellisenseHostProvider * This,
- /* [in] */ __RPC__in REFIID riid,
- /* [iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IVsTextViewIntellisenseHostProvider * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IVsTextViewIntellisenseHostProvider * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateIntellisenseHost )(
- IVsTextViewIntellisenseHostProvider * This,
- /* [in] */ __RPC__in_opt IVsTextBufferCoordinator *pBufferCoordinator,
- /* [in] */ __RPC__in REFIID riid,
- /* [iid_is][out] */ __RPC__deref_out_opt void **ppunkHost);
-
- END_INTERFACE
- } IVsTextViewIntellisenseHostProviderVtbl;
-
- interface IVsTextViewIntellisenseHostProvider
- {
- CONST_VTBL struct IVsTextViewIntellisenseHostProviderVtbl *lpVtbl;
- };
-
-
-
- #ifdef COBJMACROS
-
-
- #define IVsTextViewIntellisenseHostProvider_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
-
- #define IVsTextViewIntellisenseHostProvider_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
-
- #define IVsTextViewIntellisenseHostProvider_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
-
-
- #define IVsTextViewIntellisenseHostProvider_CreateIntellisenseHost(This,pBufferCoordinator,riid,ppunkHost) \
- ( (This)->lpVtbl -> CreateIntellisenseHost(This,pBufferCoordinator,riid,ppunkHost) )
-
- #endif /* COBJMACROS */
-
-
- #endif /* C style interface */
-
-
-
-
- #endif /* __IVsTextViewIntellisenseHostProvider_INTERFACE_DEFINED__ */
-
-
- EXTERN_C const CLSID CLSID_VsIntellisenseCompletor;
-
- #ifdef __cplusplus
-
- class DECLSPEC_UUID("F2073DB0-75B9-43ae-8681-0962C0CD4BE2")
- VsIntellisenseCompletor;
- #endif
-
- #ifndef __IVsIntellisenseCompletor_INTERFACE_DEFINED__
- #define __IVsIntellisenseCompletor_INTERFACE_DEFINED__
-
- /* interface IVsIntellisenseCompletor */
- /* [object][uuid] */
-
-
- EXTERN_C const IID IID_IVsIntellisenseCompletor;
-
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("05DFCF7A-C78A-4e20-AAFB-4A0F4D26E0FB")
- IVsIntellisenseCompletor : public IOleCommandTarget
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Initialize(
- __RPC__in_opt IVsIntellisenseHost *pHost,
- __RPC__in HWND hwndParent) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Update(
- __RPC__in_opt IVsCompletionSet *pCompSet,
- DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetWidth(
- __RPC__in DWORD *dwWidth) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetHeight(
- __RPC__in DWORD *dwHeight) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCompletionSpan(
- __RPC__in TextSpan *ts) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetLocation(
- __RPC__in POINT *p) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Hide( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsActive(
- /* [out] */ __RPC__out BOOL *pfIsActive) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetWindowHandle(
- /* [out] */ __RPC__deref_out_opt HWND *phwnd) = 0;
-
- };
-
- #else /* C style interface */
-
- typedef struct IVsIntellisenseCompletorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IVsIntellisenseCompletor * This,
- /* [in] */ __RPC__in REFIID riid,
- /* [iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IVsIntellisenseCompletor * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IVsIntellisenseCompletor * This);
-
- /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *QueryStatus )(
- IVsIntellisenseCompletor * This,
- /* [unique][in] */ __RPC__in_opt const GUID *pguidCmdGroup,
- /* [in] */ ULONG cCmds,
- /* [out][in][size_is] */ __RPC__inout_ecount_full(cCmds) OLECMD prgCmds[ ],
- /* [unique][out][in] */ __RPC__inout_opt OLECMDTEXT *pCmdText);
-
- HRESULT ( STDMETHODCALLTYPE *Exec )(
- IVsIntellisenseCompletor * This,
- /* [unique][in] */ __RPC__in_opt const GUID *pguidCmdGroup,
- /* [in] */ DWORD nCmdID,
- /* [in] */ DWORD nCmdexecopt,
- /* [unique][in] */ __RPC__in_opt VARIANT *pvaIn,
- /* [unique][out][in] */ __RPC__inout_opt VARIANT *pvaOut);
-
- HRESULT ( STDMETHODCALLTYPE *Initialize )(
- IVsIntellisenseCompletor * This,
- __RPC__in_opt IVsIntellisenseHost *pHost,
- __RPC__in HWND hwndParent);
-
- HRESULT ( STDMETHODCALLTYPE *Update )(
- IVsIntellisenseCompletor * This,
- __RPC__in_opt IVsCompletionSet *pCompSet,
- DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetWidth )(
- IVsIntellisenseCompletor * This,
- __RPC__in DWORD *dwWidth);
-
- HRESULT ( STDMETHODCALLTYPE *GetHeight )(
- IVsIntellisenseCompletor * This,
- __RPC__in DWORD *dwHeight);
-
- HRESULT ( STDMETHODCALLTYPE *GetCompletionSpan )(
- IVsIntellisenseCompletor * This,
- __RPC__in TextSpan *ts);
-
- HRESULT ( STDMETHODCALLTYPE *SetLocation )(
- IVsIntellisenseCompletor * This,
- __RPC__in POINT *p);
-
- HRESULT ( STDMETHODCALLTYPE *Hide )(
- IVsIntellisenseCompletor * This);
-
- HRESULT ( STDMETHODCALLTYPE *IsActive )(
- IVsIntellisenseCompletor * This,
- /* [out] */ __RPC__out BOOL *pfIsActive);
-
- HRESULT ( STDMETHODCALLTYPE *GetWindowHandle )(
- IVsIntellisenseCompletor * This,
- /* [out] */ __RPC__deref_out_opt HWND *phwnd);
-
- END_INTERFACE
- } IVsIntellisenseCompletorVtbl;
-
- interface IVsIntellisenseCompletor
- {
- CONST_VTBL struct IVsIntellisenseCompletorVtbl *lpVtbl;
- };
-
-
-
- #ifdef COBJMACROS
-
-
- #define IVsIntellisenseCompletor_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
-
- #define IVsIntellisenseCompletor_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
-
- #define IVsIntellisenseCompletor_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
-
-
- #define IVsIntellisenseCompletor_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) \
- ( (This)->lpVtbl -> QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) )
-
- #define IVsIntellisenseCompletor_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) \
- ( (This)->lpVtbl -> Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) )
-
-
- #define IVsIntellisenseCompletor_Initialize(This,pHost,hwndParent) \
- ( (This)->lpVtbl -> Initialize(This,pHost,hwndParent) )
-
- #define IVsIntellisenseCompletor_Update(This,pCompSet,dwFlags) \
- ( (This)->lpVtbl -> Update(This,pCompSet,dwFlags) )
-
- #define IVsIntellisenseCompletor_GetWidth(This,dwWidth) \
- ( (This)->lpVtbl -> GetWidth(This,dwWidth) )
-
- #define IVsIntellisenseCompletor_GetHeight(This,dwHeight) \
- ( (This)->lpVtbl -> GetHeight(This,dwHeight) )
-
- #define IVsIntellisenseCompletor_GetCompletionSpan(This,ts) \
- ( (This)->lpVtbl -> GetCompletionSpan(This,ts) )
-
- #define IVsIntellisenseCompletor_SetLocation(This,p) \
- ( (This)->lpVtbl -> SetLocation(This,p) )
-
- #define IVsIntellisenseCompletor_Hide(This) \
- ( (This)->lpVtbl -> Hide(This) )
-
- #define IVsIntellisenseCompletor_IsActive(This,pfIsActive) \
- ( (This)->lpVtbl -> IsActive(This,pfIsActive) )
-
- #define IVsIntellisenseCompletor_GetWindowHandle(This,phwnd) \
- ( (This)->lpVtbl -> GetWindowHandle(This,phwnd) )
-
- #endif /* COBJMACROS */
-
-
- #endif /* C style interface */
-
-
-
-
- #endif /* __IVsIntellisenseCompletor_INTERFACE_DEFINED__ */
-
-
- EXTERN_C const CLSID CLSID_VsIntellisenseLangTip;
-
- #ifdef __cplusplus
-
- class DECLSPEC_UUID("39F4B568-7166-42b3-87E6-6B856864AE55")
- VsIntellisenseLangTip;
- #endif
-
- #ifndef __IVsIntellisenseLangTip_INTERFACE_DEFINED__
- #define __IVsIntellisenseLangTip_INTERFACE_DEFINED__
-
- /* interface IVsIntellisenseLangTip */
- /* [object][uuid] */
-
-
- EXTERN_C const IID IID_IVsIntellisenseLangTip;
-
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("1E34D422-7120-4d9e-96FF-E880B665D30D")
- IVsIntellisenseLangTip : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Initialize(
- /* [in] */ __RPC__in_opt IVsIntellisenseHost *pHost) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSizePreferences(
- /* [in] */ __RPC__in RECT *prcCtxBounds,
- /* [in] */ __RPC__in TIPSIZEDATA *pSizeData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Create(
- /* [in] */ __RPC__in_opt IVsTipWindow *pTipWnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Update(
- /* [in] */ __RPC__in_opt IVsTipWindow *pTipWnd,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UpdatePosition( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSizeY(
- /* [out] */ __RPC__out short *pSizeY) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Close(
- /* [in] */ BOOL fDeleteThis) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsActive(
- /* [out] */ __RPC__out BOOL *pfIsActive) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetOverloadCount(
- /* [out] */ __RPC__out long *plOverloadCount) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ScrollUp( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ScrollDown( void) = 0;
-
- };
-
- #else /* C style interface */
-
- typedef struct IVsIntellisenseLangTipVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IVsIntellisenseLangTip * This,
- /* [in] */ __RPC__in REFIID riid,
- /* [iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IVsIntellisenseLangTip * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IVsIntellisenseLangTip * This);
-
- HRESULT ( STDMETHODCALLTYPE *Initialize )(
- IVsIntellisenseLangTip * This,
- /* [in] */ __RPC__in_opt IVsIntellisenseHost *pHost);
-
- HRESULT ( STDMETHODCALLTYPE *GetSizePreferences )(
- IVsIntellisenseLangTip * This,
- /* [in] */ __RPC__in RECT *prcCtxBounds,
- /* [in] */ __RPC__in TIPSIZEDATA *pSizeData);
-
- HRESULT ( STDMETHODCALLTYPE *Create )(
- IVsIntellisenseLangTip * This,
- /* [in] */ __RPC__in_opt IVsTipWindow *pTipWnd);
-
- HRESULT ( STDMETHODCALLTYPE *Update )(
- IVsIntellisenseLangTip * This,
- /* [in] */ __RPC__in_opt IVsTipWindow *pTipWnd,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *UpdatePosition )(
- IVsIntellisenseLangTip * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetSizeY )(
- IVsIntellisenseLangTip * This,
- /* [out] */ __RPC__out short *pSizeY);
-
- HRESULT ( STDMETHODCALLTYPE *Close )(
- IVsIntellisenseLangTip * This,
- /* [in] */ BOOL fDeleteThis);
-
- HRESULT ( STDMETHODCALLTYPE *IsActive )(
- IVsIntellisenseLangTip * This,
- /* [out] */ __RPC__out BOOL *pfIsActive);
-
- HRESULT ( STDMETHODCALLTYPE *GetOverloadCount )(
- IVsIntellisenseLangTip * This,
- /* [out] */ __RPC__out long *plOverloadCount);
-
- HRESULT ( STDMETHODCALLTYPE *ScrollUp )(
- IVsIntellisenseLangTip * This);
-
- HRESULT ( STDMETHODCALLTYPE *ScrollDown )(
- IVsIntellisenseLangTip * This);
-
- END_INTERFACE
- } IVsIntellisenseLangTipVtbl;
-
- interface IVsIntellisenseLangTip
- {
- CONST_VTBL struct IVsInt…
Large files files are truncated, but you can click here to view the full file