| You are reading help file online using chmlib.com | 
 Microsoft Speech SDK 
SAPI 5.1
Microsoft Speech SDK 
SAPI 5.1
SpGetCategoryFromId creates an object of CLSID_SpObjectTokenCategory. This function assists in locating and creating an object token category without having to search or change the registry directly.
 Found in: sphelper.h
SpGetCategoryFromId(
   const WCHAR       *pszCategoryId,
   ISpObjectToken   **ppCategory,
   BOOL              *fCreateIfNotExist = FALSE
);
| Value | Description | 
|---|---|
| S_OK | Function completed successfully. | 
| FAILED (hr) | Appropriate error message. | 
| You are reading help file online using chmlib.com |