Hi! I am aking my first DLL and I wrote a function to play a sound and then I wrote a VB app to call on the dll. When I run my App, it gets a run time error saying my DLL has a

"Bad Dll Calling Convention"

Here is my Dll code.

#include "stdafx.h"
#include <mmsystem.h>
extern "C" __declspec(dllexport) void PlayWav(char File);

BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{

switch(ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_DETACH:
break;
}

return TRUE;
}

void PlayWav(char File){
PlaySound(&File,NULL,SND_FILENAME|SND_ASYNC);
}


What am I doing wrong? Thanks!