IAgentCommand::GetEnabled
[Microsoft 代理从 Windows 7 开始已弃用,可能在后续版本的 Windows 中不可用。]
HRESULT GetEnabled(
long * pbEnabled // address of Enabled setting for Command
);
- 返回指示操作成功的S_OK。
-
pbEnabled
-
如果命令已启用,则接收 True 的变量的地址;如果禁用 该命令 ,则为 False 。 无法选择禁用的 命令 。
另请参阅
IAgentCommand::SetCaption、 IAgentCommand::SetVisible、 IAgentCommand::SetVoice、 IAgentCommands::Add、 IAgentCommands::Insert