CRecorder::Play
Description
Begins session playback.
Syntax
__stdcall HRESULT Play(long From, long To);
Parameters
| Parameter | Type | Description |
|---|---|---|
From |
long | Entry of playback start |
To |
long | Last entry to play |
Return Value
| Type | Description |
|---|---|
| HRESULT | Standard COM return value indicating success or failure |
Remarks
To initiate playback of a recorded session, follow these steps:
- Set the Filename property with the complete path and filename of the session file (using the .idx extension)
- Invoke the Play method with the desired entry range
Playback Options
- Full session playback: Pass 0 as the starting point and use the Count property as the endpoint
- Single track playback: Supply the Position value of the target track as From, and the Position of the subsequent track as To
- Final track playback: For the last track, set To equal to the recorder’s Count property value