Platform SDK: Agent |
HRESULT GetItemText( Long dwItemIndex, // index of Command alternative BSTR * pbszText // address of voice text for Command );
Retrieves the voice text for a Command alternative passed to the IAgentNotifySink::Command callback.
If voice input was not the source for the command, for example, if the user selected the command from the character's pop-up menu, the server returns NULL for the Command's voice text.
IAgentUserInput::GetItemConfidence, IAgentUserInput::GetItemID, IAgentUserInput::GetAllItemData