Platform SDK: Agent |
HRESULT GetItemID( long dwItemIndex, // index of Command alternative long * pdwCommandID // address of a variable for number of alternatives );
Retrieves the identifier of a Command alternative passed to an IAgentNotifySink::Command callback.
If voice input triggers the IAgentNotifySink::Command callback, the server returns the IDs for any matching Commands defined by your application.
IAgentUserInput::GetItemConfidence, IAgentUserInput::GetItemText, IAgentUserInput::GetAllItemData