Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Helper SpEnumTokens (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

SpEnumTokens

SpEnumTokens enumerates the tokens for the specified category.

Found in: sphelper.h


inline HRESULT SpEnumTokens(
   const WCHAR            *pszCategoryId,
   const WCHAR            *pszReqAttribs,
   const WCHAR            *pszOptAttribs,
   IEnumSpObjectTokens   **ppEnum
);

Parameters

pszCategoryId
[in] The null-terminated string category ID on which to base the enumerations.
pszReqAttribs
[in] The null-terminated string of the required attributes for the token.
pszOptAttribs
[in] The null-terminated string of the optional attributes for the token. The order in which the tokens are listed in ppEnum is based on the order that they match pszOptAttribs.
ppEnum
[out] The enumerated list of tokens found.

Return values

ValueDescription
S_OKFunction completed successfully.
FAILED (hr)Appropriate error message.
Show:
© 2015 Microsoft