IAgentCommands::GetVoice

[从 Windows 7 开始,Microsoft 代理已弃用,可能在后续版本的 Windows 中不可用。]

HRESULT GetVoice(
   BSTR * pbszVoice  // address of Voice setting for Commands collection
);

检索 Commands 集合的 Voice 属性的值。

  • 返回指示操作成功的S_OK。

pbszVoice

接收 Commands 集合的语音文本设置值的 BSTR 的地址。

另请参阅

IAgentCommands::SetVoiceIAgentCommands::GetCaptionIAgentCommands::GetVisible