Share via


IAgentCommandEx::GetVoiceCaption

[Microsoft 에이전트는 Windows 7을 기준으로 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다.]

HRESULT GetVoiceCaption(
   BSTR * pbszVoiceCaption  // address of command's voice caption text
);

명령에 대한 VoiceCaption을 검색합니다.

  • 작업이 성공했음을 나타내는 S_OK 반환합니다.

pbszVoiceCaption

명령에 대해 표시된 캡션 텍스트의 값을 받는 BSTR의 주소입니다.

VoiceCaption은 클라이언트 애플리케이션이 입력 활성 상태일 때 음성 명령 창에서 Command 개체에 대해 표시되는 텍스트입니다.

참고 항목

IAgentCommandEx::SetVoiceCaption, IAgentCommand::SetEnabled, IAgentCommand::SetVisible, IAgentCommand::SetVoice, IAgentCommandsEx::AddEx, IAgentCommandsEx::InsertEx, IAgentCommands::Add, IAgentCommands::Insert