Re: playsound

看板Visual_Basic作者 (D逃)時間19年前 (2006/11/22 22:58), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《ahsti (竹)》之銘言: : PlaySound "C:\WINDOWS\Media\notify.wav", ByVal 0&, &H20000 Or &H1 : 其中(((ByVal 0&, &H20000 Or &H1))) : 是什麼意思? : 請各位能夠解答一下 : 謝謝 文法: BOOL PlaySound( LPCSTR pszSound, HMODULE hmod, DWORD fdwSound ); PlaySound "C:\WINDOWS\Media\notify.wav", ByVal 0&, &H20000 Or &H1 等同於下式 PlaySound "C:\WINDOWS\Media\notify.wav", Null, SND_FILENAME + SND_ASYNC hmod: Handle of the executable file that contains the resource to be loaded. This Parameter must be NULL unless SND_RESOURCE is specified in fdwSound. SND_FILENAME: The pszSound parameter is a filename. SND_ASYNC The sound is played asynchronously and PlaySound returns immediately after beginning the sound. To terminate an asynchronously played waveform sound, call PlaySound with pszSound set to NULL. -- 以上資料節錄自 MSDN Library -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.81.194.38
文章代碼(AID): #15P6MhRH (Visual_Basic)
討論串 (同標題文章)
本文引述了以下文章的的內容:
19年前, 11/21
完整討論串 (本文為第 2 之 2 篇):
19年前, 11/22
19年前, 11/21
文章代碼(AID): #15P6MhRH (Visual_Basic)