Commit Graph

69 Commits

Author SHA1 Message Date
Olivier F. R. Dierick
01e5385882 kernel32: Implement SetFileCompletionNotificationModes as a stub. 2015-06-15 17:27:38 +09:00
Michael Müller
7fe0b56e15 kernel32: Forward SetFileInformationByHandle FileDispositionInfo class to ntdll. 2015-06-11 15:34:42 +09:00
Michael Müller
fd8fae105b kernel32: Improve stub for SetFileInformationByHandle. 2015-06-11 15:32:26 +09:00
Nikolay Sivov
b17e4376d5 kernel32: Fail properly for unsupported classes in GetFileInformationByHandleEx. 2015-06-08 15:29:44 +09:00
Martin Storsjo
68b654ad2f kernel32: Implement a few more classes in GetFileInformationByHandleEx. 2015-05-21 14:26:34 +09:00
Sebastian Lackner
91f2bdd052 kernel32: Implement FindFirstFileExW level FindExInfoBasic. 2014-11-04 16:12:33 +09:00
Sebastian Lackner
3e3b03a13e kernel32: Set proper error codes if FindFirstFileExW doesn't support specific search_ops / levels. 2014-11-03 20:31:21 +09:00
Andreas Fuchs
ddeab7e564 kernel32: Ignore flags on FindFirstFileExW. 2014-09-29 18:54:30 +02:00
Alexandre Julliard
553ba810b8 kernel32: Pass the correct completion values in ReadFileScatter and WriteFileGather.
Test case based on a patch by Guo Jian.
2014-09-10 13:49:56 +02:00
Austin English
bdc0099eb4 kernel32: Add DECLSPEC_HOTPATCH to SetFilePointer. 2014-06-17 10:35:15 +02:00
Dmitry Timoshkov
c3ee3da58a kernel32: Filter out console handles in GetFileSize. 2014-04-14 10:30:30 +02:00
Piotr Caban
afadda8ff7 kernel32: Handle STD_*_HANDLE in GetFileType. 2014-02-07 16:29:17 +01:00
Huw Davies
67545ed54c kernel32: Give the non-wildcard case a chance of succeeding first time around. 2013-12-04 21:19:04 +01:00
Dmitry Timoshkov
49d0e64f88 kernel32: The return and last error values set by ReadFile on EOF depend on whether overlapped pointer was passed in. 2013-10-11 12:45:06 +02:00
Dmitry Timoshkov
b4ab43b3de kernel32: Remove a 0-length read optimization from ReadFile. 2013-09-20 11:11:47 +02:00
André Hentschel
fa6b058070 kernel32: Add partial CreateFile2 implementation. 2013-09-10 11:06:31 +02:00
Alexandre Julliard
7ce90cc719 kernel32: Attempt to buffer the full directory in FindFirstFile to avoid races. 2013-02-18 14:51:05 +01:00
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