Commit Graph

52 Commits

Author SHA1 Message Date
Ričardas Barkauskas 2c04118534 kernel32: Add SetFileInformationByHandle stub. 2013-01-23 12:46:25 +01:00
Hans Leidekker c019083240 kernel32: Implement SetFileValidData. 2012-12-04 14:42:28 +01:00
Christian Costa d13f7720eb kernel32: Implement FileNameInfo in GetFileInformationByHandleEx. 2012-10-15 15:25:25 +02:00
Vincas Miliūnas aba4619dfe kernel32: Added implementation for OpenFileById. 2012-10-12 13:20:40 +02:00
Vincas Miliūnas 6314cf0295 kernel32: Added implementation of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:14:43 +02:00
Michael Stefaniuc 97512d70cf kernel32: Avoid TRUE:FALSE conditional expressions. 2012-07-31 12:36:54 +02:00
Vincent Povirk 14404713de kernel32: Return success from ReadFileEx/WriteFileEx when I/O is pending. 2012-06-15 10:30:23 +02:00
Dmitry Timoshkov 495a0cba3d kernel32: Make CreateFile called with creation == 0 work when opening a vxd in win9x mode. 2012-03-12 10:14:13 +01:00
Eric Pouech d967484ecc kernel32: Added a couple of tests about console creation through CreateFile, and fix some corner cases. 2012-02-08 10:47:57 -06:00
Bernhard Loos c19d166529 kernel32: CreateFile uses an nonalertable io mode. 2011-08-23 16:53:55 +02:00
Hans Leidekker c41a1a29b5 kernel32: Add a trace to ReplaceFileW. 2011-07-29 13:33:01 +02:00
Jacek Caban 0909f2e054 kernel32: Moved device-related stubs from psapi to kernel32. 2011-05-16 16:35:34 +02:00
Eric Pouech 8a529d60e2 kernel32: In CreateFile, when trying to open the CON special DOS file, force OPEN_EXISTING as creation flag. 2011-05-11 14:56:48 +02:00
Dmitry Timoshkov efeea9cf10 kernel32: Add dumping of GENERIC_EXECUTE flag in CreateFile. 2011-03-15 17:14:08 +01:00
Eric Pouech ead4712606 kernel32: Properly manage ctrl-Z (and ctrl-D) in ReadFile when dealing with a console handle. 2010-11-29 11:35:46 +01:00
Louis Lenders e793f9b072 kernel32: Change SetHandleCount to match behaviour on versions >WINNT. 2010-09-06 16:14:05 +02:00
Austin English 7cd7851ca1 kernel32: Add stub for SetFileValidData. 2010-08-18 11:12:07 +02:00
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