Microsoft Speech SDK
SAPI 5.1
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 | Description |
---|---|
S_OK | Function completed successfully. |
FAILED (hr) | Appropriate error message. |