|
| Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab. |
You are reading help file online using chmlib.com
|
Microsoft Speech SDK
SAPI 5.1
SpCreateDefaultObjectFromCategoryId
SpCreateDefaultObjectFromCategoryId creates the object instance from the default object token of a specified category.
Found in: sphelper.h
SpCreateDefaultObjectFromCategoryId(
const WCHAR *pszCategoryId,
T **ppObject,
IUnknown *pUnkOuter = NULL,
DWORD dwClsCtxt = CLSCTX_ALL
);
Parameters
- pszCategoryId
- [in] The type of object token to create.
- ppObject
- [out] The object being created.
- pUnkOuter
- [in] Optional parameter used for creating aggregate objects. pUnkOuter is the data for the object. If not specified, the value defaults to NULL.
- dwClsCtxt
- [in] The type of aggregate object being created. If pUnkOuter is not NULL, this must be supplied. If not specified otherwise, the value defaults to all object types.
Return values
Value |
Description |
S_OK |
Function completed successfully. |
FAILED (hr) |
Appropriate error message. |
Example
CComPtr<ISpAudio> cpAudio;
hr = SpCreateDefaultObjectFromCategoryId(SPCAT_AUDIOIN, &cpAudio);
You are reading help file online using chmlib.com
|
If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com