Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This command attempts to determine the current state of the medium inside the device. For example, whether it is currently stopped, playing, paused, or recording.
Parameters
- Command
This must be set to AVC_VCR_CMD_TRANSPORT_STATE. - CommandType
This should be set to AVC_VCR_CommandType_Status.
Return Values
- ResponseCode
The VCR subunit will return a specific value in this field, depending on the requested action requested 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. - u.TransportState.Mode
If the query attempt is successful, this will be filled in with one of the flags in the following table.Flag Description TRANSPORT_STATE_Mode_LOAD_MEDIUM u.TransportState.State should be set to TRANSPORT_STATE_State_EJECT. TRANSPORT_STATE_Mode_RECORD u.TransportState.State should be set to one of the following settings. For details on each, see AVC_VCR_CMD_RECORD. - RECORD_RecordingMode_Area_2_3_Insert
- RECORD_RecordingMode_Area_1_Insert
- RECORD_RecordingMode_Area_1_2_3_Insert
- RECORD_RecordingMode_Area_3_Insert
- RECORD_RecordingMode_Area_2_Insert
- RECORD_RecordingMode_Area_1_2_Insert
- RECORD_RecordingMode_Area_1_3_Insert
- RECORD_RecordingMode_Area_2_3_Insert_Pause
- RECORD_RecordingMode_Area_1_Insert_Pause
- RECORD_RecordingMode_Area_1_2_3_Insert_Pause
- RECORD_RecordingMode_Area_3_Insert_Pause
- RECORD_RecordingMode_Area_2_Insert_Pause
- RECORD_RecordingMode_Area_1_2_Insert_Pause
- RECORD_RecordingMode_Area_1_3_Insert_Pause
- RECORD_RecordingMode_Record
- RECORD_RecordingMode_Record_Pause
- TRANSPORT_STATE_State_UNSPECIFIED_INSERT
- TRANSPORT_STATE_State_UNSPECIFIED_INSERT_PAUSE
TRANSPORT_STATE_Mode_PLAY u.TransportState.State should be set to one of the following settings. For details on each, see AVC_VCR_CMD_PLAY. - PLAY_PlaybackMode_NextFrame
- PLAY_PlaybackMode_SlowestForward
- PLAY_PlaybackMode_SlowForward_6
- PLAY_PlaybackMode_SlowForward_5
- PLAY_PlaybackMode_SlowForward_4
- PLAY_PlaybackMode_SlowForward_3
- PLAY_PlaybackMode_SlowForward_2
- PLAY_PlaybackMode_SlowForward_1
- PLAY_PlaybackMode_X1
- PLAY_PlaybackMode_FastForward_1
- PLAY_PlaybackMode_FastForward_2
- PLAY_PlaybackMode_FastForward_3
- PLAY_PlaybackMode_FastForward_4
- PLAY_PlaybackMode_FastForward_5
- PLAY_PlaybackMode_FastForward_6
- PLAY_PlaybackMode_FastestForward
- PLAY_PlaybackMode_PreviousFrame
- PLAY_PlaybackMode_SlowestReverse
- PLAY_PlaybackMode_SlowReverse_6
- PLAY_PlaybackMode_SlowReverse_5
- PLAY_PlaybackMode_SlowReverse_4
- PLAY_PlaybackMode_SlowReverse_3
- PLAY_PlaybackMode_SlowReverse_2
- PLAY_PlaybackMode_SlowReverse_1
- PLAY_PlaybackMode_X1_Reverse
- PLAY_PlaybackMode_FastReverse_1
- PLAY_PlaybackMode_FastReverse_2
- PLAY_PlaybackMode_FastReverse_3
- PLAY_PlaybackMode_FastReverse_4
- PLAY_PlaybackMode_FastReverse_5
- PLAY_PlaybackMode_FastReverse_6
- PLAY_PlaybackMode_FastestReverse
- PLAY_PlaybackMode_Reverse
- PLAY_PlaybackMode_ReversePause
- PLAY_PlaybackMode_Forward
- PLAY_PlaybackMode_ForwardPause
- TRANSPORT_STATE_State_UNSPECIFID_SLOW_FORWARD
- TRANSPORT_STATE_State_UNSPECIFIED_FAST_FORWARD
- TRANSPORT_STATE_State_UNSPECIFIED_SLOW_REVERSE
- TRANSPORT_STATE_State_UNSPECIFIED_FAST_REVERSE
TRANSPORT_STATE_Mode_WIND u.TransportState.State should be set to one of the following settings. For details on each, see AVC_VCR_CMD_WIND. - WIND_Subfunction_HIGH_SPEED_REWIND
- WIND_Subfunction_STOP
- WIND_Subfunction_REWIND
- WIND_Subfunction_FAST_FORWARD
- TRANSPORT_STATE_State_STOP_EMERGENCY
- TRANSPORT_STATE_State_STOP_CONDENSATION
Remarks
Several commands change the state of the device mechanism, such as AVC_VCR_CMD_RECORD, AVC_VCR_CMD_PLAY, and AVC_VCR_CMD_WIND. These functions are not available for AVC_VCR_CommandType_Status inquiries. Instead, AVC_VCR_CMD_TRANSPORT_STATE is provided to determine the mechanism state.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Avc_vcr.h.
See Also
AVC_VCR_CMD_RECORD | AVC_VCR_CMD_PLAY | AVC_VCR_CMD_WIND | IOCTL_VCR_AVCCMD
Send Feedback on this topic to the authors