Jacek Caban
1d36532d22
kernelbase: Support FileEndOfFileInfo in SetFileInformationByHandle.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-03 21:01:54 +01:00
Jacek Caban
60f11d2929
kernelbase: Simplify CreateFileW.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 19:51:41 +01:00
Jacek Caban
826a9615e4
kernelbase: Remove no longer needed console handle mapping.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 19:50:30 +01:00
Jacek Caban
cbca9f847f
kernelbase: Use FileFsDeviceInformation for console handles in GetFileType.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-27 21:59:40 +01:00
Jacek Caban
a055f41286
kernelbase: Use NtQueryInformationFile for consoles handles in GetFileSizeEx.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-23 21:05:04 +01:00
Rémi Bernon
1445ae79e6
kernelbase: Also pass CreateFile2 file flags to CreateFileW.
...
Instead of just attributes.
Otherwise we may miss important flags like FILE_FLAG_OVERLAPPED and open
the file for synchronous I/O, causing a deadlock in Flight Simulator.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-09 22:36:13 +02:00
Alexandre Julliard
d1f83537e7
kernelbase: Use FSCTL_GET_OBJECT_ID to compare file identities.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-17 00:04:13 +02:00
Alexandre Julliard
f8699c0a71
kernel32: Move RemoveDirectoryA/W() implementation to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 16:05:26 +02:00
Jacek Caban
0556d9e6f1
kernelbase: Use NtCreateFile for console handles in CreateFileW.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-26 21:52:21 +02:00
Alexandre Julliard
4ccc3e5285
kernel32: Move Get/SetSystemTimeAdjustment to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-22 14:31:55 +02:00
Alexandre Julliard
0c90da7f7e
kernel32: Move some stub functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 20:53:02 +02:00
Alexandre Julliard
b6c9401882
kernel32: Move some file functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 20:53:02 +02:00
Zebediah Figura
dab50548e0
kernelbase: Return the volume serial number in GetFileInformationByHandle().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-09 09:11:53 +02:00
Alexandre Julliard
5933c2a690
kernelbase: Don't allow the full Unicode character range in path functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 20:39:21 +01:00
Alexandre Julliard
ef95e4a8b9
kernelbase: Don't use wcsicmp/wcsnicmp() on the full Unicode character range.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 20:39:21 +01:00
Alexandre Julliard
d88bbf0a45
kernelbase: Use wide character string literals in file.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Kevin Puetz
b064d32c52
kernelbase: Allow NULL lpAssemblyDirectoryName in find_actctx_dllpath.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 21:32:05 +01:00
Zebediah Figura
c7019a8887
kernelbase: Implement ReOpenFile().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47668
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 19:33:06 +01:00
Alexandre Julliard
207c558003
kernelbase: Move some console support back to kernel32.
...
That's where the bulk of the console code still resides.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:16:40 +01:00
Alexandre Julliard
9b0877db4a
kernel32: Move FindFirst/NextFile functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Alexandre Julliard
7b3c0fbed2
kernelbase: Add an OpenConsoleW() replacement wrapper.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 18:24:32 +01:00
Alexandre Julliard
94d2b4742c
kernelbase: Fix assumptions about 0-size output buffer in ntdll Unicode conversion functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 09:30:43 +01:00
Zebediah Figura
216530f230
kernelbase: Implement GetOverlappedResultEx().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38830
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-29 08:26:30 +01:00
Alexandre Julliard
4405195b3c
kernel32: Move GetSystemWow64Directory() functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
Alexandre Julliard
bf03953942
kernelbase: Implement GetSystemWow64Directory2().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
Alexandre Julliard
8d25965e12
kernel32: Move SearchPath functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-04 09:44:29 +02:00
Zebediah Figura
1669956966
kernelbase: Implement GetFileInformationByHandleEx(FileAttributeTagInfo).
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47813
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 21:02:39 +02:00
Alexandre Julliard
2c68c530af
kernel32: Move file time functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 19:36:10 +02:00
Alexandre Julliard
e3e1bede1b
kernel32: Move some path functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-17 16:50:44 +02:00
Alexandre Julliard
f3960c32f1
kernel32: Move ioctl functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 21:05:07 +02:00
Alexandre Julliard
0b5c0bc769
kernel32: Move file change notification functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-08 22:52:09 +02:00
Alexandre Julliard
5fb8e3edef
kernelbase: Comment out DECLSPEC_HOTPATCH on stub functions.
...
It triggers a MinGW compiler bug.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47633
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-27 11:46:51 +02:00
Alexandre Julliard
2c73a08655
kernel32: Move some directory functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 16:15:16 +02:00
Alexandre Julliard
0b45fc4750
kernel32: Move some file name functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 12:46:59 +02:00
Alexandre Julliard
ccf4ca825c
kernel32: Move file handle functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 12:46:59 +02:00