I'm not sure if this is the right area? but here goes anyhow
This allows me to play a wav file using a DLL,
Private Declare Function sndPlaySound Lib "WINMM.DLL" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
I've used QUIKVIEW to look at the DLL and can locate sndPlaySoundA, the question is how can you find out what else needs to be defined for the function to work VB i.e. where did (ByVal lpszSoundName As String, ByVal uFlags As Long) come from and how do you know what to define them as?