I'm new to directx programming and am trying to learn how to use directsound. For starters I want to enumerate the sound devices so I use the DirectSoundEnumerate function.
I created a simple callback function (that does nothing). I get the following error (code listed afterwards):
on the following line:
error C3867: 'CAud4App::DSEnumProc': function call missing argument list; use '&CAud4App::DSEnumProc' to create a pointer to member
Can anyone explain what I am doing wrong? Thanks
BOOL CALLBACK DSEnumProc(LPGUID lpGUID,
LPVOID lpContext )