diff -Naur a/libvo/vo_directx.c b/libvo/vo_directx.c --- a/libvo/vo_directx.c 2004-12-27 20:27:08.000000000 +0100 +++ b/libvo/vo_directx.c 2004-12-31 00:19:31.515625000 +0100 @@ -380,13 +380,10 @@ selected_guid_ptr = &selected_guid; } mi.cbSize = sizeof(mi); - if(myGetMonitorInfo){ + if (myGetMonitorInfo(hm, &mi)) { monitor_rect = mi.rcMonitor; } - }else{ - mp_msg(MSGT_VO, MSGL_ERR, "-adapter is not supported on Win95\n"); - } mp_msg(MSGT_VO, MSGL_INFO ,"\t\t<--"); } mp_msg(MSGT_VO, MSGL_INFO ,"\n"); @@ -405,7 +402,11 @@ HINSTANCE user32dll=LoadLibrary("user32.dll"); if(user32dll){ - myGetMonitorInfo=GetProcAddress(user32dll,"GetMonitorInfo"); + myGetMonitorInfo=GetProcAddress(user32dll,"GetMonitorInfoA"); + if(!myGetMonitorInfo && vo_adapter_num){ + mp_msg(MSGT_VO, MSGL_ERR, " -adapter is not supported on Win95\n"); + vo_adapter_num = 0; + } } mp_msg(MSGT_VO, MSGL_DBG3,"Initing DirectDraw\n" );