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

Alexandre Julliard julliard at winehq.org
Mon Sep 6 13:53:11 CDT 2010


Module: wine
Branch: master
Commit: e793f9b0721d84de5f32518e1006efbcb1486b01
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e793f9b0721d84de5f32518e1006efbcb1486b01

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.

---

 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