DWORD lParam1 | The following additional flags apply to digital-video devices: |
MCI_DGV_PLAY_REPEAT | Specifies that the playback should repeat until it is paused or stopped. Each playback uses all the flags specified with MCI_PLAY. If a starting position is not specified using MCI_PLAY, the second and subsequent iterations start at the beginning of the media. Pausing play does not cancel this flag. |
MCI_DGV_PLAY_REVERSE | Specifies that playing should occur in reverse. A device driver might support reverse playback only for certain files (for example, files consisting solely of still images). If a file cannot play in reverse, or a device driver is incapable of playing the file in reverse, then the command is rejected. If possible, the device plays any accompanying audio if audio output is enabled. |
LPMCI_DGV_PLAY_PARMS lParam2 | Specifies a far pointer to an MCI_DGV_PLAY_PARMS data structure. |
Return Value | Returns zero if successful. Otherwise, it returns an MCI error code. |
Comments | MCI_PLAY causes an implied selection of the workspace as the presentation source. It might be used to output data in the workspace that has just been recorded. If MCI_SETVIDEO is enabled, MCI_PLAY displays a default hidden window. When a device finishes playing, its mode is the same as that defined for seek. There might be device specific restrictions on what activities can occur simultaneously in other device instances. |
See Also | MCI_CUE, MCI_PAUSE, MCI_RECORD, MCI_RESUME, MCI_SEEK, MCI_STOP |