[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT GetItemText( Long dwItemIndex, // index of Command alternative BSTR * pbszText // address of voice text for Command );
- Returns S_OK to indicate the operation was successful.
Address of a BSTR that receives the value of the voice text for the Command.
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.