Commit Graph

35 Commits

Author SHA1 Message Date
Alexandre Julliard
475b7d226c kernel32: Make krnl386.exe into a stand-alone 16-bit module. 2009-12-30 17:36:14 +01:00
Nikolay Sivov
14058ccf25 kernel32: Fix a leak in ReplaceFileW. 2009-12-22 13:48:26 +01:00
Henri Verbeet
d4fc2fd746 kernel32: Also accept STATUS_BUFFER_OVERFLOW as a valid return code in GetFileInformationByHandle().
FileAllInformation is supposed to also return the file name. If it did,
"all_info" would be too small for the returned data, but since it would still
return as much information as fits in the buffer, we don't need a larger
buffer either.
2009-11-19 12:22:51 +01:00
Alexandre Julliard
42c5215133 kernel32: Moved the DeviceIoControl function to file.c. 2009-10-08 20:30:16 +02:00
Alexandre Julliard
e5288bf42f kernel32: Move the DOS file handle functions to file16.c. 2009-10-08 19:22:17 +02:00
Mike Kaplinskiy
a5c03fbc72 kernel32: Implement CancelIoEx. 2009-08-18 12:29:33 +02:00
Michael Stefaniuc
9b2730eb88 kernel32: Remove superfluous pointer casts. 2009-03-11 13:03:31 +01:00
Nikolay Sivov
32cc4011ee kernel32: Make GetOverlappedResult crash on NULL args as native does. 2009-01-22 15:28:24 +01:00
Alexandre Julliard
e016d2ec5e kernel32: Remove the DIB section hack in WriteFile now that NtWriteFile takes care of it. 2009-01-15 12:06:16 +01:00
Alexandre Julliard
7c6302b7ff kernel32: Only try to open a VxD if opening a normal device failed. 2008-10-30 10:33:45 +01:00
Jeff Zaroyko
22a33168c9 kernel32: Modify DeleteFileW to fail on directories. 2008-09-18 12:32:57 +02:00
Vitaliy Margolen
0b6f677d10 kernel32: Use FileStandardInformation to get file size. 2008-09-15 11:28:37 +02:00
Alexandre Julliard
5c5b997dc2 kernel32: Implemented ReadFileScatter and WriteFileGather. 2008-03-15 10:58:38 +01:00
Alexandre Julliard
db1b9a9f62 kernel32: Propagate the FILE_FLAG_NO_BUFFERING CreateFile flag to ntdll. 2008-03-15 10:58:38 +01:00
Alexandre Julliard
5625c6079e Get rid of the global thread.h header. 2008-03-01 11:57:00 +01:00
Rob Shearman
c72de7bce2 kernel32: Implement ReplaceFileW.
Based on a patch by Erich Hoover.
2008-02-12 23:03:09 +01:00
Erich Hoover
06a3c3a281 kernel32: Implement ReplaceFileA. 2008-02-12 23:02:55 +01:00
Dmitry Timoshkov
07efb2740b kernel32: Set last error to ERROR_ALREADY_EXISTS if CreateFile succeeds and file existed before for CREATE_ALWAYS and OPEN_ALWAYS. 2007-11-16 12:33:18 +01:00
Mikolaj Zalewski
25e15ddb51 kernel32: FindExSearchLimitToDirectories has no effect on FindFirstFileEx. 2007-10-19 12:26:49 +02:00
Andrey Turkin
308f73c06d kernel32: Pass completion value to ntdll layer. 2007-09-28 13:20:36 +02:00
Alexandre Julliard
cd33692fa1 kernel32: Always clear the I/O status block count before calling ntdll functions. 2007-07-16 16:20:29 +02:00
Alexandre Julliard
acb43cfef2 kernel32: Wait in overlapped Read/WriteFile even when no overlapped structure is passed. 2007-07-16 15:27:53 +02:00
Alexandre Julliard
35ef5df76c kernel32: Rewrite GetOverlappedResult for the new async I/O behavior. 2007-06-04 23:03:15 +02:00
Dmitry Timoshkov
a67b689121 kernel32: Fix compilation warnings in 64-bit mode. 2007-05-23 13:13:54 +02:00
Andrew Talbot
072e7d0438 kernel32: Exclude unused headers. 2007-05-07 20:34:49 +02:00
Alexandre Julliard
f807f2d457 kernel32: Don't skip directory symlinks when looking for a specific file. 2007-05-01 14:32:33 +02:00
Alexandre Julliard
6746209d4e kernel32: Don't use the reserved argument of the APC routine callback. 2007-03-26 19:14:13 +02:00
Jan Zerebecki
f7c4b25723 kernel32: Add DebugInfo to critical sections. 2007-03-12 13:37:27 +01:00
Rob Shearman
8132707bce kernel32: Handle the SECURITY_* flags passed into CreateFileW by filling out the SECURITY_QUALITY_OF_SERVICE structure and passing it to NtCreateFile.
Print a fixme in NtCreateFile if the SECURITY_QUALITY_OF_SERVICE
structure is specified, since it isn't handled yet.
2007-01-22 12:02:04 +01:00
Alexandre Julliard
df29fd3ab3 ntdll: Always return . and .. as the first two entries in directory searches. 2006-12-01 13:11:38 +01:00
Alexandre Julliard
2cb4361c06 kernel32: Reimplemented SetFilePointerEx on top of ntdll functions. 2006-11-01 16:12:57 +01:00
Alexandre Julliard
98a3912e9f kernel32: Fixed behavior of FindFirstFile for DOS devices. 2006-10-31 12:05:19 +01:00
Alexandre Julliard
5e08230568 kernel32: Close the directory handle in FindNextFile as soon as we reach the end of the directory. 2006-10-27 12:27:33 +02:00
Michael Stefaniuc
8c38b88068 kernel32: Win64 printf format warning fixes. 2006-10-13 12:08:25 +02:00
Alexandre Julliard
489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00