Michael Müller
d0ae2b0d3d
kernel32: Implement GetNumaProcessorNode.
2015-06-29 19:07:51 +09:00
Michael Müller
81142c9985
kernel32/tests: Add tests for GetNumaProcessorNode.
2015-06-29 19:07:51 +09:00
Nikolay Sivov
15eba39978
kernel32: Implement EnumCalendarInfoExEx().
2015-06-29 19:07:46 +09:00
Nikolay Sivov
c1c42d3caf
kernel32: Simplify the way EnumCalendarInfo vs EnumCalendarInfoEx are handled internally.
2015-06-29 19:07:45 +09:00
Marcus Meissner
c1d262f66d
kernel32: GetCurrentDirectoryW gets characters, not bytes.
2015-06-26 20:35:06 +09:00
Sebastian Lackner
d082ea3eab
ntdll: Implement support for AT_ROUND_TO_PAGE flag in NtMapViewOfSection.
2015-06-26 20:35:05 +09:00
Sebastian Lackner
7a8470ea94
ntdll: NtMapViewOfSection should fail if both addr_ptr and zero_bits is set.
2015-06-26 20:35:05 +09:00
Sebastian Lackner
b80bbd5986
kernel32/tests: Add GetVolumePathNameW tests.
2015-06-23 20:46:09 +09:00
Sebastian Lackner
d01c135aed
kernel32/tests: Add a lot of picky GetVolumePathName tests.
2015-06-23 20:46:08 +09:00
Erich E. Hoover
ed151a5efc
kernel32: Handle device paths in GetVolumePathName.
...
NT-style paths that have a device prefix (\??\) also return the drive
of the current working directory (even if they're valid devices).
2015-06-23 20:46:08 +09:00
Erich E. Hoover
5a84969f39
kernel32: Handle bogus DOS paths in GetVolumePathName.
...
Paths that are not NT and not even close to DOS don't actually fail
catastrophically. Even though MSDN suggests that it returns the boot
drive in this case, tests indicate that it returns the drive of the
current working directory.
2015-06-23 20:46:07 +09:00
Erich E. Hoover
e8e13308ea
kernel32: Handle semi-DOS paths in GetVolumePathName.
...
Add support for "semi-DOS" paths, these paths revert to the drive
letter specified in the first character.
2015-06-23 20:46:03 +09:00
Erich E. Hoover
62279b7f4d
kernel32/tests: Add a bunch more GetVolumePathName tests.
2015-06-23 20:44:25 +09:00
Erich E. Hoover
b29b0d2cff
kernel32/tests: Convert GetVolumePathName tests into a list.
2015-06-23 20:44:25 +09:00
Erich E. Hoover
f6c7e247ad
kernel32: Implement GetVolumePathName.
...
The purpose of this function is to return the most fundamental path
without leaving a filesystem. Steam uses this so that it can use inode
searches, without this functionality some installations/validations will
fail if the Steam Library is not on the same drive as Steam
itself (symlink'd to another location).
2015-06-23 20:44:21 +09:00
Nikolay Sivov
0824771423
kernel32: Export RtlCopyMemory().
2015-06-19 19:10:45 +09:00
Olivier F. R. Dierick
01e5385882
kernel32: Implement SetFileCompletionNotificationModes as a stub.
2015-06-15 17:27:38 +09:00
Erich E. Hoover
5e817e93de
kernel32: Implement GetSystemTimes.
2015-06-11 15:58:34 +09:00
Louis Lenders
305a73bcb5
kernel32/tests: Add tests for GetSystemTimes.
2015-06-11 15:58:15 +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
Alexandre Julliard
3494fb7f72
kernel32: Avoid resolving imports against the advapi32 forwards.
2015-06-10 15:26:05 +09:00
Jacek Caban
09176c3aa0
kernel32: Treat empty locale name as LOCALE_INVARIANT.
2015-06-10 15:00:15 +09:00
Nikolay Sivov
5742497a35
kernel32/tests: Some tests for invalid classes in SetFileInformationByHandle().
2015-06-09 18:05:48 +09:00
Sebastian Lackner
8ddab2c2f4
ntdll: Fix status code when NtMapViewOfSection parameter check fails.
2015-06-08 15:34:04 +09:00
Sebastian Lackner
5204d89dc9
kernel32/tests: Add tests for virtual memory alignment behaviour.
...
AT_ROUND_TO_PAGE is only available on 32-bit non-wow64 systems.
2015-06-08 15:33:59 +09:00
Nikolay Sivov
b17e4376d5
kernel32: Fail properly for unsupported classes in GetFileInformationByHandleEx.
2015-06-08 15:29:44 +09:00
Michael Müller
803e9cfb66
kernel32: Correctly check for an empty short filename in GetShortPathNameW (Coverity).
2015-06-01 14:46:34 +09:00
André Hentschel
a18f84c0b1
ntdll: Add stub for __chkstk on ARM.
2015-05-29 15:03:05 +09:00
Jacek Caban
12a134fdc4
kernel32: Fixed buffer overflow in GetShortPathNameW.
2015-05-25 21:43:17 +09:00
Francois Gouget
8efa0fb0c4
kernel32/tests: Fix compilation on systems that don't support nameless unions.
2015-05-25 14:34:07 +09:00
Alexandre Julliard
c4fb1f617d
kernel32: Get rid of the hardcoded NUL device in QueryDosDeviceW.
2015-05-21 17:37:42 +09:00
Alexandre Julliard
f32600d3c1
kernel32: Check NT symlink first for all devices in QueryDosDeviceW.
2015-05-21 17:37:14 +09:00
Martin Storsjo
68b654ad2f
kernel32: Implement a few more classes in GetFileInformationByHandleEx.
2015-05-21 14:26:34 +09:00
André Hentschel
1e8759805e
kernel32/tests: Add ARM and ARM64 arch strings.
2015-05-20 22:10:50 +09:00
Martin Storsjo
c9c5ceccb4
kernel32: Implement GetSystemTimePreciseAsFileTime.
...
This just falls back to doing the same as GetSystemTimeAsFileTime.
2015-05-20 17:28:37 +09:00
Michael Müller
f556d0e936
kernel32: Return correct device type for cd devices without medium.
2015-05-19 19:24:20 +09:00
Sebastian Lackner
7ebe22e99c
kernel32/tests: Add tests for delete behaviour of CopyFileEx.
2015-05-19 19:24:20 +09:00
Christian Faure
9cffed782f
kernel32: Fix a crash in GetStringTypeW() on NULL input string.
2015-05-18 14:07:48 +09:00
Grazvydas Ignotas
2e21381177
kernel32: Don't leak an event handle on errors.
2015-05-18 14:07:21 +09:00
Andrew Eikum
d9a27e9ca0
kernel32: Implement CheckNameLegalDOS8Dot3.
2015-05-13 22:05:42 +09:00
Mark Harmstone
e468f15d20
kernel32: Add GetFileMUIInfo stub.
2015-05-12 15:30:47 +09:00
Nikolay Sivov
2c98d5b90c
kernel32: Implement GetDynamicTimeZoneInformation().
2015-05-11 15:39:24 +09:00
Nikolay Sivov
dde69d617b
kernel32: Fixed couple of comments regarding atom calls.
2015-05-11 15:39:24 +09:00
Francois Gouget
5ea2bdda5d
kernel32/tests: Silence some loader and locale traces that generate too many lines.
2015-05-11 15:19:05 +09:00
Andrew Eikum
65f2690203
kernel32: Support extended pathnames in GetShortPathName.
2015-05-06 08:36:04 +09:00
Sebastian Lackner
ee6a477cab
ntdll: Return failure in NtProtectVirtualMemory when last argument is omitted.
2015-05-05 23:15:31 +09:00
Sebastian Lackner
1119da47ee
kernel32: Do not omit mandatory argument for VirtualProtect.
2015-05-04 20:07:54 +09:00
Sebastian Lackner
152b575eed
kernel32/tests: Add tests for calling VirtualProtect with NULL as last argument.
2015-05-04 20:07:51 +09:00
Sebastian Lackner
10ee3f44b1
kernel32/tests: Add tests for deleting readonly files with NtCreateFile.
...
Wine currently implements DeleteFile based on NtCreateFile with access mask
GENERIC_READ | GENERIC_WRITE | DELETE, but this is wrong. This test shows that
NtCreateFile with FILE_DELETE_ON_CLOSE should also fail without explicitly
requesting read/write access.
2015-04-30 19:58:01 +09:00