IVsTextViewIntellisenseHostProvider::CreateIntellisenseHost Method (IVsTextBufferCoordinator^, Guid, IntPtr)
Visual Studio 2015
Creates an IntelliSense host.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int CreateIntellisenseHost(
IVsTextBufferCoordinator^ pBufferCoordinator,
[InAttribute] Guid% riid,
[OutAttribute] IntPtr% ppunkHost
)
Parameters
- pBufferCoordinator
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextBufferCoordinator^
[in] Pointer to the IVsTextBufferCoordinator interface.
- riid
-
Type:
System::Guid
[in] GUID of the text buffer coordinator for which the IntelliSense host is being created.
- ppunkHost
-
Type:
System::IntPtr
[out, iid_is(riid)] The IntelliSense host.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
If pBufferCoordinator is NULL, the returned host is simply a pass-through directly to this view.
From singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHostProvider::CreateIntellisenseHost([in] IVsTextBufferCoordinator *pBufferCoordinator, [in] REFIID riid, [out, iid_is(riid)] void **ppunkHost);
Show: