MCI_VCR_SET_PARMS

The MCI_VCR_SET_PARMS structure contains parameters for the MCI_SET command for video-cassette recorders.

typedef struct tagMCI_VCR_SET_PARMS {
    DWORD_PTR dwCallback; 
    DWORD     dwTimeFormat; 
    DWORD     dwAudio; 
    DWORD     dwTimeMode; 
    DWORD     dwRecordFormat; 
    DWORD     dwCounterFormat; 
    DWORD     dwIndex; 
    DWORD     dwTracking; 
    DWORD     dwSpeed; 
    DWORD     dwLength; 
    DWORD     dwCounter; 
    DWORD     dwClock; 
    DWORD     dwPauseTimeout; 
    DWORD     dwPrerollDuration; 
    DWORD     dwPostrollDuration; 
} MCI_VCR_SET_PARMS;
 

Members

dwCallback

The low-order word specifies a window handle used for the MCI_NOTIFY flag.

dwTimeFormat

Current time format.

dwAudio

Not used.

dwTimeMode

Constant that specifies the timing source used by the device. The timing source is either a timecode recorded on videotape, or the counters in the device that sense videotape movement.

dwRecordFormat

Recording rate.

dwCounterFormat

Format of a new counter time value.

dwIndex

Contents of on-screen display.

dwTracking

Speed adjustment used when tracking the VCR playback rate.

dwSpeed

Playback speed used by the device as an integer. Normal playback speed is 1000, double speed is 2000, and half speed is 500.

dwLength

Videotape length when the length is undetectable by the device.

dwCounter

New counter value.

dwClock

New clock time.

dwPauseTimeout

New timeout value for pause command.

dwPrerollDuration

Videotape length needed to stabilize the VCR output.

dwPostrollDuration

Videotape length needed to brake the VCR transport when a MCI_STOP or MCI_PAUSE command is issued.

Remarks

When assigning data to the members of this structure, set the corresponding flags in the fdwCommand parameter of the mciSendCommand function to validate the members.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vcr.h.

See Also

MCI, MCI Structures, MCI_PAUSE, MCI_SET, MCI_STOP, mciSendCommand