Einzelnen Beitrag anzeigen

Benutzerbild von Dani
Dani

Registriert seit: 19. Jan 2003
732 Beiträge
 
Turbo Delphi für Win32
 
#3

Re: PlaySound-Wiedergabe unterbrechen

  Alt 29. Nov 2004, 06:58
Hi,

ein kurzer Blick ins Platform SDK verrät:

Zitat:
BOOL PlaySound(
LPCSTR pszSound,
HMODULE hmod,
DWORD fdwSound
);

fdwSound
Flags for playing the sound. The following values are defined.

...

SND_PURGE

Sounds are to be stopped for the calling task. If pszSound is not NULL, all instances of the specified sound are stopped. If pszSound is NULL, all sounds that are playing on behalf of the calling task are stopped.
You must also specify the instance handle to stop SND_RESOURCE events.
Dani H.
  Mit Zitat antworten Zitat