다음을 통해 공유


IAgentCommand::GetCaption

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

HRESULT GetCaption(
   BSTR * pbszCaption  // address of Caption for Command
);

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

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

pbszCaption

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

참고 항목

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