I tried this code when the window loads to play a sound file which placed in the directory where my source files are:

Code:
case WM_CREATE:

PlaySound("hellowin.wav" ,NULL,SND_FILENAME | SND_ASYNC);
		return 0;
It gives me this error:

hellowin.obj : error LNK2001: unresolved external symbol __imp__PlaySoundA@12