PlaySound() with DLL Injection

I'm somewhat new to C++, and iv been interested in DLL Injection lately, and what I wanted to do was to load my DLL into a process and hopefully be able to play a sound with SoundPlay(). Here is my code: