AVC_VCR_CMD_PLAY (Windows CE 5.0)
This command permits the caller to instruct the VCR subunit to begin playback of inserted media.
Parameters
- Command
This must be set to AVC_VCR_CMD_PLAY. - CommandType
This field must be set to AVC_VCR_CommandType_Control. - u.Play.PlaybackMode
This field must be set to one of the flags in the following table.Flag Description PLAY_PlaybackMode_NextFrame Play back the next frame or field. PLAY_PlaybackMode_SlowestForward Play back in a forward direction at the slowest possible speed. PLAY_PlaybackMode_SlowForward_X Play back in a forward direction at a particular slow speed, where 6 is the slowest, and 1 is the fastest. Substitute for X a number between 6 and 1. PLAY_PlaybackMode_X1 Play back in a forward direction at usual speed. PLAY_PlaybackMode_FastForward_X Play back in a forward direction at a particular fast speed, where 1 is the slowest, and 6 is the fastest. Substitute for X a number between 1 and 6. PLAY_PlaybackMode_FastestForward Play back in a forward direction at the fastest possible speed. PLAY_PlaybackMode_PreviousFrame Play back the previous frame or field. PLAY_PlaybackMode_SlowestReverse Play back in a reverse direction at the slowest possible speed. PLAY_PlaybackMode_SlowReverse_X Play back in a reverse direction at a particular slow speed, where 6 is the slowest, and 1 is the fastest. Substitute for X a number between 6 and 1. PLAY_PlaybackMode_X1_Reverse Play back in a reverse direction at usual speed. PLAY_PlaybackMode_FastReverse_X Play back in a reverse direction at a particular fast speed, where 1 is the slowest, and 6 is the fastest. Substitute for X a number between 1 and 6. PLAY_PlaybackMode_FastestReverse Play back in a reverse direction at the fastest possible speed. PLAY_PlaybackMode_Reverse Play back in a reverse direction at usual speed. PLAY_PlaybackMode_ReversePause Pause in reverse playback. PLAY_PlaybackMode_Forward Play back (forward) at usual speed. PLAY_PlaybackMode_ForwardPause Pause in (forward) playback.
Return Values
- ResponseCode
The VCR subunit will return a specific value in this field, depending on the requested action and the capabilities of the subunits. A successful control attempt will result in a value of AVC_RESPONSE_ACCEPTED. Other values are possible and are discussed in the description of IOCTL_VCR_AVCCMD.
Remarks
A VCR subunit may not support all playback modes. Previously mentioned modes that appear to be redundant should be considered in this light.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Avc_vcr.h.
See Also
AVC_VCR_CMD_RECORD | IOCTL_VCR_AVCCMD
Send Feedback on this topic to the authors