IVsCommandWindowsCollection.SetRunningCommandWindowCommand Method (UInt32, Int32)


Indicates whether a command window is running (or not running) a command.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int SetRunningCommandWindowCommand(
	uint uCookie,
	int fCmdWin


Type: System.UInt32

[in] A cookie, returned by Create, specifying the window.

Type: System.Int32

[in] A Boolean value—true indicates the command window is running a command; false indicates no command is currently running.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell80.idl:

HRESULT SetRunningCommandWindowCommand(
    [in] UINT uCookie
    [in]    BOOL fCmdWin
Return to top