Helper SpGetCategoryFromId (SAPI 5.4)

Microsoft Speech API 5.4

SpInitTokenListBox

SpInitTokenListBox initializes a list box with the description of tokens from a specified category.

Found in: spuihelp.h

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

Parameters

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

Return values

Value
S_OK
FAILED (hr)