This
parameter can contain any of the following flags:
MCI_NOTIFY
A notification message will be posted
to the window specified in the hwndCallback parameter of the data
structure pointed to by the pParam2 parameter. The notification
will be posted when the action indicated by this message is completed or
when an error occurs.
MCI_WAIT
Control
is not to be returned until the action indicated by this message is completed
or an error occurs.
MCI_FROM
This
flag indicates that the ulFrom field of the play data structure is
to be used as the starting position for the play operation. If this flag
is not set, the current position is assumed.
MCI_TO
This flag indicates that the ulTo field
of the play data structure is to be used as the ending position of the play
operation. If this flag is not set, playback continues to the end of the
media or segment, as defined by the device. If the to position is beyond
the end of the media or segment, an MCIERR_OUTOFRANGE error is returned.
Digital Video Extensions
The following additional flags apply to digital video devices:
MCI_DGV_PLAY_SPEED
This flag adds a speed parameter.
The units are specified by the currently set speed format. The speed value
is in the ulSpeed field in the play data structure.
MCI_DGV_PLAY_REVERSE
This flag specifies to play in reverse.
MCI_DGV_PLAY_FAST
This flag specifies to play at the fast rate (twice
the normal recorded playback rate).
MCI_DGV_PLAY_SCAN
Specifies to scan. Scan usually means to play
as quickly as possible, with audio disabled.
MCI_DGV_PLAY_SLOW
This flag specifies to play at the slow rate (half
the normal recorded playback rate).
MCI_DGV_PLAY_REPEAT
Videodisc
Extensions
The following additional flags apply to videodisc devices. MCI_VD_PLAY_REVERSE
and MCI_VD_PLAY_SCAN are mutually exclusive. Only one of the other flags
is allowed with this message.
MCI_VD_PLAY_REVERSE
This flag specifies to play
in reverse.
MCI_VD_PLAY_FAST
This
flag specifies to play at the fast rate.
MCI_VD_PLAY_SCAN
This flag specifies to scan. Scan usually means
to play as fast as possible, with audio disabled.
MCI_VD_PLAY_SPEED
This flag adds a speed parameter. The units are
specified by the currently set speed format. The speed value is in the
ulSpeed field of the play data structure.
MCI_VD_PLAY_SLOW
This flag specifies to play at the slow rate.
[Back]
[Next]