Platform SDK: Agent

IAgentCommand::GetEnabled

HRESULT GetEnabled(
   long * pbEnabled  // address of Enabled setting for Command
);

Retrieves the value of the Enabled property for a Command.

pbEnabled
The address of a variable that receives True if the Command is enabled, or False if it is disabled. A disabled Command cannot be selected.

See Also

IAgentCommand::SetCaption, IAgentCommand::SetVisible, IAgentCommand::SetVoice, IAgentCommands::Add, IAgentCommands::Insert