Microsoft Speech SDK
SAPI 5.1
ISpObjectTokenEnumBuilder::SetAttribs
ISpObjectTokenEnumBuilder::SetAttribs sets the required and optional token enumerator attribute information. This function can be called only once for the same object.
HRESULT SetAttribs(
const WCHAR *pszReqAttribs,
const WCHAR *pszOptAttribs
);
Parameters
- pszReqAttribs
- Address of a null-terminated string containing the required attribute information.
- pszOptAttribs
- Address of a null-terminated string containing the optional attribute information.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
SPERR_ALREADY_INITIALIZED | The object has already been initialized. |
E_OUTOFMEMORY | Exceeded available memory. |
FAILED(hr) | Appropriate error message. |