摘要:
#include <iostream.h> #include <windows.h> #include "resource.h" #include <mmsystem.h> #pragma comment(lib,"winmm.lib") void sound() { PlaySound(MAKEINTRESOURCE(IDR_WAVE1),GetModuleHandle(NULL),SND_ASYNC);// PlaySound(TEXT("Windows XP 启动.WAV"),ai,SND_F 阅读全文