diff options
author | David Woodfall <dave@dawoodfall.net> | 2010-06-12 14:15:27 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-12 22:14:26 -0500 |
commit | 92258817eb52b8b07bb312564c244849922236b2 (patch) | |
tree | 04273604aca28b09cae57125ea9fc83c4322e4af /system/wine/IE_fix_maybe.patch | |
parent | 63cb991c343864451782448524314643ece34a00 (diff) | |
download | slackbuilds-92258817eb52b8b07bb312564c244849922236b2.tar.gz |
system/wine: Added (win32 API implementation)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/wine/IE_fix_maybe.patch')
-rw-r--r-- | system/wine/IE_fix_maybe.patch | 49 |
1 files changed, 49 insertions, 0 deletions
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 <rob at codeweavers.com> +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; + } + + /*********************************************************************** + + + |