Louis Lenders : kernel32: Change SetHandleCount to match behaviour on versions >WINNT.

Alexandre Julliard julliard at winehq.org
Tue Oct 5 14:41:48 CDT 2010


Module: wine
Branch: stable
Commit: 4c5f302eac9777bbaf8ccd6ecad4079411153ed1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4c5f302eac9777bbaf8ccd6ecad4079411153ed1

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Fri Sep  3 20:47:30 2010 +0200

kernel32: Change SetHandleCount to match behaviour on versions >WINNT.
(cherry picked from commit e793f9b0721d84de5f32518e1006efbcb1486b01)

---

 dlls/kernel32/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c
index dadaea6..e32d75d 100644
--- a/dlls/kernel32/file.c
+++ b/dlls/kernel32/file.c
@@ -1192,7 +1192,7 @@ BOOL WINAPI UnlockFileEx( HANDLE hFile, DWORD reserved, DWORD count_low, DWORD c
  */
 UINT WINAPI SetHandleCount( UINT count )
 {
-    return min( 256, count );
+    return count;
 }
 
 




More information about the wine-cvs mailing list