Article View: borland.public.cppbuilder.nativeapi
Article #3031Re: PlaySound() problem
From: Bob Gonder
Date: Wed, 13 Sep 2006 16:10
Date: Wed, 13 Sep 2006 16:10
15 lines
1476 bytes
1476 bytes
Paulo Buzinello wrote:
> The music is played
>but SND_ASYNC has no effect. I need to wait the
>function play the entire music.
>
>PlaySound("dance.wav",0,SND_ASYNC)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcewave/html/_wcesdk_win32_playsound.asp
SND_ASYNC The sound is played asynchronously and PlaySound returns
immediately after beginning the sound.
SND_SYNC Synchronous playback of a sound event. PlaySound returns
after the sound event completes.
Technical Details
Message-ID:
<c9bgg2dmlo65oog0d5ncld75gvkle4mqu0@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<MPG.1f71b6aa6a729d32989680@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2274be377f128b8f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: PlaySound() problem Date: Wed, 13 Sep 2006 09:10:37 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <c9bgg2dmlo65oog0d5ncld75gvkle4mqu0@4ax.com> References: <MPG.1f71b6aa6a729d32989680@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 71.49.209.194 X-Trace: newsgroups.borland.com 1158163834 71.49.209.194 (13 Sep 2006 09:10:34 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail