IVsIntellisenseProjectManager::AdviseIntellisenseProjectEvents Method (IVsIntellisenseProjectEventSink^, UInt32)
Visual Studio 2015
Registers an event sink to receive load status of an IntelliSense project.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int AdviseIntellisenseProjectEvents( IVsIntellisenseProjectEventSink^ pSink, [OutAttribute] unsigned int% pdwCookie )
Parameters
- pSink
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsIntellisenseProjectEventSink^
[In] Pointer to an implementation of IVsIntellisenseProjectEventSink.
- pdwCookie
-
Type:
System::UInt32
[out] Pointer to an object of type VSCOOKIE. Used in the UnadviseIntellisenseProjectEvents method when unregistering the event sink.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: