MCI_VCR_SET_PARMS structure

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

Syntax

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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vcr.h

See also

MCI

MCI Structures

MCI_PAUSE

MCI_SET

MCI_STOP

mciSendCommand