The information in this article applies to:
SUMMARYIn the Microsoft Windows environment, the "close waveaudio" MCI command string used with mciSendString() no longer closes all open waveaudio devices. Using the MCI command string "close waveaudio" closes only the device opened as "open waveaudio". MORE INFORMATION
The previous behavior of the "close waveaudio" command string was to close
all waveaudio devices in the system. This was considered "rude" behavior,
because no application should be able to terminate another application's
currently playing wave file. Therefore, this behavior was changed.
open c:\mmwin\mmdata\laser.wav type waveaudio alias myfileTherefore, a different approach is required to close all waveaudio devices in the application. Enumerate all waveaudio devices opened in that task and close them, as follows:
NOTE: It is not necessary to close all open waveaudio files to play another
one. The restriction is that only one waveaudio file can be playing at once
(assuming only one waveaudio output device).
Additional query words: 3.00 no32bit 3.10
Keywords : kb16bitonly |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |