Compartir a través de


IVsCommandWindowsCollection.SetRunningCommandWindowCommand Method

Definition

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

public:
 int SetRunningCommandWindowCommand(System::UInt32 uCookie, int fCmdWin);
public:
 int SetRunningCommandWindowCommand(unsigned int uCookie, int fCmdWin);
int SetRunningCommandWindowCommand(unsigned int uCookie, int fCmdWin);
public int SetRunningCommandWindowCommand (uint uCookie, int fCmdWin);
abstract member SetRunningCommandWindowCommand : uint32 * int -> int
Public Function SetRunningCommandWindowCommand (uCookie As UInteger, fCmdWin As Integer) As Integer

Parameters

uCookie
UInt32

[in] A cookie, returned by Create(UInt32, UInt32, Int32, UInt32), specifying the window.

fCmdWin
Int32

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

Returns

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  
);  

Applies to