MCI_STEP
The MCI_STEP
command steps the player one or more frames. Digital-video, VCR, and CAV-format
videodisc devices recognize this command.
MCIERROR mciSendCommand(MCIDEVICEID wDeviceID,
MCI_STEP,
DWORD dwFlags, (DWORD)
(LPMCI_GENERIC_PARMS) lpStep);
Parameters
wDeviceID
Device
identifier of the MCI device that is to receive the command message.
dwFlags
MCI_NOTIFY,
MCI_WAIT, or, for digital-video and VCR devices, MCI_TEST. For information
about these flags, see The Wait, Notify, and Test Flags
lpStep
Address of an
MCI_GENERIC_PARMS
Return Values
Returns zero
if successful or an error otherwise.
Remarks
This command
supports devices that return TRUE to the MCI_GETDEVCAPS_HAS_VIDEO flag of the MCI_GETDEVCAPS
The following
additional flags are used with the digitalvideo device type:
MCI_DGV_STEP_FRAMES
The dwFrames
member of the structure identified by lpStep specifies the number of
frames to advance before displaying another image.
MCI_DGV_STEP_REVERSE
Steps in
reverse.
For
digital-video devices, the lpStep parameter points to an MCI_DGV_STEP_PARMS
The following
additional flags are used with the vcr device type:
MCI_VCR_STEP_FRAMES
The dwFrames
member of the structure identified by lpStep specifies the number of
frames to advance before displaying another image.
MCI_VCR_STEP_REVERSE
Steps in
reverse.
For VCR
devices, the lpStep parameter points to an MCI_VCR_STEP_PARMS
The following
additional flags are used with the videodisc device type:
MCI_VD_STEP_FRAMES
The dwFrames
member of the structure identified by lpStep specifies the number of
frames to step.
MCI_VD_STEP_REVERSE
Steps in
reverse.
For videodisc
devices, the lpStep parameter points to an MCI_VD_STEP_PARMS
See Also