Helper SpGetCategoryFromId (SAPI 5.4)

Microsoft Speech API 5.4

SpInitTokenComboBox

SpInitTokenComboBox initializes a combo box with the description of tokens from a specified category.

Found in: spuihelp.h

  
    HRESULT SpInitTokenComboBox(
   HWND		hwnd,
   const WCHAR* pszCatName,
   const WCHAR* pszRequiredAttrib = NULL,
   const WCHAR* pszOptionalAttrib = NULL
);

Parameters

  • hwnd
    [in] The handle of the combo box that is to be initialized with tokens.
  • pszCatName
    [in] The category of the tokens to initialize the combo box.
  • pszRequiredAttrib
    [in] Required attributes.
  • pszOptionalAttrib
    [in] Optional attributes.

Return values

Value
S_OK
FAILED (hr)