Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

89 lines
2.4 KiB

#include <windows.h>
#include "PlaySnd.h"
IDI_ICON ICON PlaySnd.ico
Ding WAVE ding.wav
Siren WAVE siren.wav
Laser WAVE laser.wav
IDM_DING WAVE ding.wav
IDM_SIREN WAVE siren.wav
IDM_LASER WAVE laser.wav
IDM_MENU MENU
begin
popup "&File"
begin
menuitem "&Play..." IDM_PLAYFILE
menuitem SEPARATOR
menuitem "E&xit", IDM_EXIT
menuitem "A&bout PlaySnd...\tCtrl+A", IDM_ABOUT
end
menuitem "&Sounds..." IDM_SOUNDS
popup "&Resource"
begin
menuitem "&Ding" IDM_DING
menuitem "&Laser" IDM_LASER
menuitem "&Siren" IDM_SIREN
menuitem "By Id" IDM_RESOURCEID
end
popup "&MessageBeep"
begin
menuitem "&Hand" IDM_ICONHAND
menuitem "&Question" IDM_ICONQUESTION
menuitem "&Exclamation" IDM_ICONEXCLAMATION
menuitem "&Asterisk" IDM_ICONASTERISK
menuitem SEPARATOR
menuitem "Sync - &Hand" IDM_SYNC_ICONHAND
menuitem "Sync - &Question" IDM_SYNC_ICONQUESTION
menuitem "Sync - &Exclamation" IDM_SYNC_ICONEXCLAMATION
menuitem "Sync - &Asterisk" IDM_SYNC_ICONASTERISK
end
popup "&Options"
begin
menuitem "&Synchronous" IDM_SYNC
menuitem "No &wait" IDM_NOWAIT
menuitem "No&default" IDM_NODEFAULT
end
#ifdef MEDIA_DEBUG
popup "&Debug"
begin
menuitem "Level 0" IDM_DEBUG0
menuitem "Level 1" IDM_DEBUG1
menuitem "Level 2" IDM_DEBUG2
menuitem "Level 3" IDM_DEBUG3
menuitem "Level 4" IDM_DEBUG4
end
#endif
popup "&Help"
begin
menuitem "&Index", IDM_HELP_INDEX
menuitem "&Keyboard", IDM_HELP_KEYBOARD
menuitem "Using &Help", IDM_HELP_HELP
menuitem SEPARATOR
menuitem "&About PlaySnd..." IDM_ABOUT
end
end
STRINGTABLE
begin
IDS_APPNAME, "PlaySnd"
end
IDA_ACCTABLE ACCELERATORS
begin
"^A", IDM_ABOUT
end
rcinclude sounddlg.dlg
rcinclude about.dlg