Stopping, Pausing, and Resuming a Device

The stop (MCI_STOP) command suspends the playing or recording of a device. Many devices also support the pause (MCI_PAUSE) command. The difference between stop and pause depends on the device. Usually pause suspends operation but leaves the device ready to resume playing or recording immediately.

Using the play (MCI_PLAY) or record (MCI_RECORD) command to restart a device resets the locations specified with the "to" (MCI_TO) and "from" (MCI_FROM) flags before the device was paused or stopped. Without the "from" flag, these commands reset the starting location to the current position. Without the "to" flag, they reset the ending location to the end of the media. To continue playing or recording without resetting a previously specified stop position, use the play or record command's "to" flag to specify an ending position.

Some devices support the resume (MCI_RESUME) command to restart a paused device. This command does not change the "to" and "from" locations specified with the play or record command that preceded the pause command.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database