Commit dca9fc53 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DirectX: fix GetProcAddress call with Unicode

parent ba15fcb6
......@@ -1070,7 +1070,7 @@ static int ReloadDirectXDevices( vlc_object_t *p_this, char const *psz_name,
/* Get DirectSoundEnumerate */
HRESULT (WINAPI *OurDirectSoundEnumerate)(LPDSENUMCALLBACKW, LPVOID) =
(void *)GetProcAddress( hdsound_dll, _T("DirectSoundEnumerateW") );
(void *)GetProcAddress( hdsound_dll, "DirectSoundEnumerateW" );
if( OurDirectSoundEnumerate != NULL )
{
OurDirectSoundEnumerate( DeviceEnumCallback, &list );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment