Compartilhar via


AVC_VCR_CMD_WIND (Windows CE 5.0)

Send Feedback

This command controls the state of the tape mechanism, setting it to states such as stop, rewind, or fast forward.

Parameters

  • Command
    This must be set to AVC_VCR_CMD_WIND.
  • CommandType
    This should be set to AVC_VCR_CommandType_Control. This command is not valid for any type of query.
  • u.Wind.Subfunction
    This should be pre-initialized with one of the flags in the following table.
    Flag Description
    WIND_Subfunction_HIGH_SPEED_REWIND Request that the mechanism attempt to rewind the tape at a higher speed than typical. Note that this feature may not be available on all units, and an application might choose to fall back to typical rewind if it fails.
    WIND_Subfunction_STOP Request that the device cease any activity whatsoever, including recording, playback, rewind, fast forward, and so on, and stop the mechanism altogether.
    WIND_Subfunction_REWIND Request that the mechanism attempt to rewind the tape. This will cease any ongoing record or playback operations.
    WIND_Subfunction_FAST_FORWARD Request that the mechanism attempt to fast forward the tape. This will cease any ongoing record or playback operations.

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

The AVC_VCR_CMD_WIND command permits you to change the current state of the mechanism. However, unlike many commands, the same command does not apply to the opposite action of querying the current state of the mechanism. For this, the application should utilize AVC_VCR_CMD_TRANSPORT_STATE.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Avc_vcr.h.

See Also

AVC_VCR_CMD_TRANSPORT_STATE | IOCTL_VCR_AVCCMD

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.