[Microsoft 代理程式在 Windows 7 中已被取代,且在後續版本的 Windows 中可能無法使用。]
HRESULT GetVoiceCaption(
BSTR * pbszVoiceCaption // address of command's voice caption text
);
擷取命令的VoiceCaption。
- 傳回S_OK,表示作業成功。
VoiceCaption是當用戶端應用程式為輸入作用中時,[語音命令視窗] 中Command物件所顯示的文字。
另請參閱
IAgentCommandEx::SetVoiceCaption、 IAgentCommand::SetEnabled、 IAgentCommand::SetVisible、 IAgentCommand::SetVoice、 IAgentCommandsEx::AddEx、 IAgentCommandsEx::InsertEx、 IAgentCommands::Add、 IAgentCommands::Insert