Louis Lenders xerox_xerox2000@yahoo.co.uk writes:
@@ -1192,7 +1192,10 @@ BOOL WINAPI UnlockFileEx( HANDLE hFile, DWORD reserved, DWORD count_low, DWORD c */ UINT WINAPI SetHandleCount( UINT count ) {
- return min( 256, count );
- if (GetVersion() & 0x80000000)
return min( 0x100, count );
- else
return min( 0xffffffff, count );
It's pretty unlikely that count would be larger than 0xffffffff. Also I don't think we need a version check.