sound

 sound

#include<Windows.h>
#include <MMSystem.h>
#pragma comment(lib, "WINMM.LIB")


int WINAPI WinMain( __in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance, __in_opt LPSTR lpCmdLine, __in int nShowCmd ){
	//PlaySound("C:\\360Downloads\\Music\\test.mp3",NULL,SND_FILENAME|SND_SYNC);
	PlaySound("C:\\360Downloads\\Music\\REMINDER.WAV",NULL,SND_FILENAME|SND_ASYNC|SND_LOOP);
	MessageBox(NULL,TEXT(""),TEXT(""),MB_OK);
	return 0;
}

你可能感兴趣的:(sound)