Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.4
SpCreateNewToken (by TokenId)
SpCreateNewToken creates a token forcefully.
Found in: sphelper.h
inline HRESULT SpCreateNewToken(
const WCHAR *pszTokenId,
ISpObjectToken **ppToken
);
Parameters
- pszTokenId
[in] The null-terminated string indicating the token IDw. - ppToken
[out] The token being created. It is created with CoCreateInstance and must be manually freed when no longer required.
Return values
| Value |
| S_OK |
| FAILED (hr) |