IVsSyntheticTextManager::CreateSyntheticTextSession Method (UInt32, Object^, IVsSyntheticTextClient^, IVsSyntheticTextSession^)
Visual Studio 2015
Creates the specified synthetic text session.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int CreateSyntheticTextSession( unsigned int dwFlags, Object^ pOwningObject, IVsSyntheticTextClient^ pClient, [OutAttribute] IVsSyntheticTextSession^% ppState )
Parameters
- dwFlags
-
Type:
System::UInt32
[in] Unused; must be zero
- pOwningObject
-
Type:
System::Object^
[in] The owning object (normally the buffer) for the session.
- pClient
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsSyntheticTextClient^
[in] The client interface for the session.
- ppState
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsSyntheticTextSession^
[out] The new session.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsSyntheticTextManager::CreateSyntheticTextSession( [in] DWORD dwFlags, [in] IUnknown *pOwningObject, [in] IVsSyntheticTextClient *pClient, [out] IVsSyntheticTextSession **ppState );
Show: