Partager via


SPSHORTCUTPAIR (SAPI 5.3)

Microsoft Speech API 5.3

SPSHORTCUTPAIR

New in SAPI 5.3

Describes the pairing of a spoken shortcut phrase with the corresponding text or a node in a linked list of shortcut pairs.

  
    typedef struct SPSHORTCUTPAIR
{
    SPSHORTCUTPAIR     *pNextSHORTCUTPAIR;
    LANGID             *LangID;
    SPSHORTCUTTYPE      shType;
    LPWSTR              pszDisplay;
    LPWSTR              pszSpoken;	
} SPSHORTCUTPAIR;

Members

  • pNextSHORTCUTPAIR
    Pointer to the next pair in the linked list or, if it is the end of the list, NULL.
  • LangID
    The language ID of the pair or 0 (meaning default).
  • shType
    The type of shortcut.
  • pszDisplay
    The text to be displayed when the shortcut is spoken.
  • pszSpoken
    The text the recognizer should listen for.