ITfFnPlayBack::Play method (ctffunc.h)
Causes the audio data for a range of text to be played.
Syntax
HRESULT Play(
[in] ITfRange *pRange
);
Parameters
[in] pRange
Pointer to an ITfRange object that covers the text to play the audio data for. This range object is obtained by calling ITfFnPlayBack::QueryRange.
If the range has zero length, the range played is expanded to cover the entire spoken phrase. If the range has a nonzero length, the range played is expanded to include the entire word, or words, that the range partially covers.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
An unspecified error occurred. |
|
A memory allocation failure occurred. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ctffunc.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |