Digital Mind

In my app I must get the caps of each directsound device installed on the system. The topic on msdn that explains how to enumerate devices has an example code with this callback function:

BOOL CALLBACK DSEnumProc(LPGUID lpGUID, 
LPCTSTR lpszDesc,
LPCTSTR lpszDrvName,
LPVOID lpContext )
The Callback function should be in the same form as the DSEnumCallback prototype. Anyway the DSEnumCallback prototype has the second and the third parameters of LPCSTR type, while the above prototype has the LPCTSTR type.

How should I expect these parameters to be

Thanks



Re: Game Technologies: Audio / XACT DSEnumCallback...LPCSTR or LPCTSTR???

Digital Mind

Up...