IVsCommandWindowsCollection::GetCommandWindowFromMode Method (UInt32, Object^)
Visual Studio 2015
Retrieves a command window interface for the specified mode.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- mode
-
Type:
System::UInt32
[in] A value of type __COMMANDWINDOWMODE2.
- ppunkCmdWindow
-
Type:
System::Object^
[out] A pointer to a pointer to the IUnknown interface for the command window.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshel80l.idl:
HRESULT GetCommandWindowFromMode(
[in] COMMANDWINDOWMODE2 mode,
[out] IUnknown ** ppunkCmdWindow
);
Show: