fixed WaitForMultipleObjects and FindFile

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8286 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-11-25 18:51:25 +00:00
parent 4c89b52ee4
commit af5f5e258f
1 changed files with 6 additions and 2 deletions

View File

@ -829,7 +829,7 @@ static void* WINAPI expWaitForMultipleObjects(int count, const void** objects,
object = objects[i];
ret = expWaitForSingleObject(object, duration);
if (WaitAll)
dprintf("suck...\n");
dbgprintf("WaitAll flag not yet supported...\n");
else
return ret;
}
@ -3397,8 +3397,12 @@ static HANDLE WINAPI expCreateFileA(LPCSTR cs1,DWORD i1,DWORD i2,
if(strstr(cs1, "QuickTimeEssentials.qtx"))
{
int result;
char* tmp="/root/.wine/fake_windows/Windows/System/QuickTime/QuickTimeEssentials.qtx";
char* tmp=(char*)malloc(strlen(def_path)+50);
strcpy(tmp, def_path);
strcat(tmp, "/");
strcat(tmp, "QuickTimeEssentials.qtx");
result=open(tmp, O_RDONLY);
free(tmp);
return result;
}
#endif