|
pause
The pause command pauses playing or recording. Most drivers retain the current position
and eventually resume playback or recording at this position. CD audio,
digital-video, MIDI sequencer, VCR, videodisc, and waveform-audio devices recognize
this command.
wsprintf(lpstrCommand, "pause %s %s", lpszDeviceID, lpszFlags);
Parameters
lpszDeviceID
Identifier of an MCI device. This identifier or alias is assigned when the
device is opened.
lpszFlags
Can be "wait", "notify", or both. For digital-video and VCR devices, "test"
can also be specified. For more information about these flags, see The Wait, Notify, and Test Flags.
Return Values
Returns zero if successful or an error otherwise.
Remarks
With the MCICDA, MCISEQ, and MCIPIONR drivers, the pause command works the same as the stop command.
The following command pauses the "mysound" device:
pause mysound
See Also
stop
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|