Share via


IVsCommandWindowsCollection.SetRunningCommandWindowCommand Method

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)

Syntax

'Declaration
Function SetRunningCommandWindowCommand ( _
    uCookie As UInteger, _
    fCmdWin As Integer _
) As Integer
int SetRunningCommandWindowCommand(
    uint uCookie,
    int fCmdWin
)
int SetRunningCommandWindowCommand(
    [InAttribute] unsigned int uCookie, 
    [InAttribute] int fCmdWin
)
abstract SetRunningCommandWindowCommand : 
        uCookie:uint32 * 
        fCmdWin:int -> int
function SetRunningCommandWindowCommand(
    uCookie : uint, 
    fCmdWin : int
) : int

Parameters

  • uCookie
    Type: UInt32

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

  • fCmdWin
    Type: Int32

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

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT SetRunningCommandWindowCommand(
    [in] UINT uCookie
    [in]    BOOL fCmdWin
);

.NET Framework Security

See Also

Reference

IVsCommandWindowsCollection Interface

Microsoft.VisualStudio.Shell.Interop Namespace