PREPARECOMMANDRESULT Enum

Definition

Constants for working with commands. Used with PrepareCommand(String, Guid, UInt32, IntPtr, PREPARECOMMANDRESULT[]) calls.

C++/CX
public enum class PREPARECOMMANDRESULT
Inheritance
PREPARECOMMANDRESULT

Fields

Name Value Description
PC_SUCCESS 0

Command preparation was successful.

PC_NOCOMMAND 1

No command name was specified.

PC_NOTFOUND 2

The name did not match any known command.

PC_NOTAVAILABLE 3

The command is disabled.

PC_PARAMSNOTACCEPTED 4

Parameters were specified, and the command does not accept parameters.

PC_FAILURE 5

Failure not attributable to one of the causes below.

Remarks

COM Signature

From vsshell.idl:

Applies to

Produit Versions
Visual Studio SDK 2015, 2017, 2019, 2022