From 92258817eb52b8b07bb312564c244849922236b2 Mon Sep 17 00:00:00 2001 From: David Woodfall Date: Sat, 12 Jun 2010 14:15:27 -0500 Subject: system/wine: Added (win32 API implementation) Signed-off-by: Robby Workman --- system/wine/IE_fix_maybe.patch | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 system/wine/IE_fix_maybe.patch (limited to 'system/wine/IE_fix_maybe.patch') diff --git a/system/wine/IE_fix_maybe.patch b/system/wine/IE_fix_maybe.patch new file mode 100644 index 0000000000..07bc4d6d51 --- /dev/null +++ b/system/wine/IE_fix_maybe.patch @@ -0,0 +1,49 @@ +NOTE: This patch is *intended* to be REVERSED when applied to the wine +source, as we need to *remove* this from the code, or else IE might +have problems. --rworkman (SBo) +####### End my comments ######## + +Module: wine +Branch: master +Commit: 628a515b83c317388ddb4fa9a7b29a42135acee0 +URL: http://source.winehq.org/git/wine.git/?a=commit;h=628a515b83c317388ddb4fa9a7b29a42135acee0 + +Author: Rob Shearman +Date: Fri Jan 4 17:43:56 2008 +0000 + +kernel32: Implement RegisterWaitForSingleObjectEx. + +--- + + dlls/kernel32/sync.c | 14 ++++++++++++-- + 1 files changed, 12 insertions(+), 2 deletions(-) + +diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c +index 168a00f..b8b8f0c 100644 +--- a/dlls/kernel32/sync.c ++++ b/dlls/kernel32/sync.c +@@ -270,9 +270,19 @@ HANDLE WINAPI RegisterWaitForSingleObjectEx( HANDLE hObject, + WAITORTIMERCALLBACK Callback, PVOID Context, + ULONG dwMilliseconds, ULONG dwFlags ) + { +- FIXME("%p %p %p %d %d\n", ++ NTSTATUS status; ++ HANDLE hNewWaitObject; ++ ++ TRACE("%p %p %p %d %d\n", + hObject,Callback,Context,dwMilliseconds,dwFlags); +- return 0; ++ ++ status = RtlRegisterWait( &hNewWaitObject, hObject, Callback, Context, dwMilliseconds, dwFlags ); ++ if (status != STATUS_SUCCESS) ++ { ++ SetLastError( RtlNtStatusToDosError(status) ); ++ return NULL; ++ } ++ return hNewWaitObject; + } + + /*********************************************************************** + + + -- cgit v1.2.3