Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
4/8/2010
This method obtains information about the voice samples that are specified by the psthparameter, such as the frequency, size, or bit rate. The information is also passed out with psth.
Syntax
HRESULT GetVoiceInfo ( SPRECOGNITIONMETHOD eRM, SPTYPEHEADER* psthID, SPTYPEHEADER* psthSampleInfo ); |
Parameters
- eRM
-
[in] Identifies which recognition method should be used.
- psthID
-
[in] Pointer to information which identifies the sample.
Recognition method SPTYPEHEADER type SPRM_CONTINUOUSDIGIT
SPT_BSTR
SPRM_VOICETAG
SPT_DWORD
- psthSampleInfo
-
[out] Filled in by the speech recognition engine. This is information about the sample.
Return Value
Value | Description |
---|---|
S_OK |
Success |
E_NOTIMPL |
Not implemented. |
SPERR_NOT_FOUND |
The sample identified by psthIDis not on the system. |
Otherwise, it returns an appropriate failure code from the return code list.
Remarks
Please contact Microsoft before implementing this function.
Requirements
Header | itspeech.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Smartphone 2002 and later |