Andrey Gusev
bf8eb24913
kernel32/tests: Fix typos in ok() messages.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 15:55:17 +01:00
André Hentschel
ee9f2c62d5
kernel32: Implement GetCurrentThreadStackLimits.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46179
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 16:41:47 +01:00
Alexandre Julliard
013c51aca0
makefiles: Create 64-bit wine loader symlinks in the WoW64 build tree.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 14:21:29 +01:00
Greg Smith
f4b07ee8ec
kernel32: Ignore FileIoPriorityHintInfo in SetFileInformationByHandle().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46130
Signed-off-by: Greg Smith <codedonewell@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 16:26:04 +01:00
Zhiyi Zhang
33de7fb7a8
mountmgr: Add IOCTL_STORAGE_QUERY_PROPERTY stub.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 16:26:04 +01:00
André Hentschel
014f9c0929
kernel32: Add stub case for ARM64 in GetSystemInfo.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46092
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
André Hentschel
ebc80ad1c4
ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM64.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46143
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-15 09:57:28 +01:00
Michael Stefaniuc
d9c7d4147b
kernel32: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 23:11:31 +01:00
André Hentschel
9f7692e2ed
kernel32: Export RtlPcToFileHeader on ARM64.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46144
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 23:11:31 +01:00
Alex Henrie
8fae94c57a
kernel32: Implement GetMaximumProcessorCount.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45961
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 09:56:18 +01:00
Alex Henrie
305597439b
kernel32: Remove duplicate spec file entries.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 09:56:18 +01:00
André Hentschel
95fa795fa1
ntdll: Call system hook in LdrResolveDelayLoadedAPI when dll hook is missing.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46089
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 10:30:07 +01:00
Nikolay Sivov
982b93148c
kernel32/tests: Fix skips for implemented functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 10:21:51 +01:00
Dmitry Timoshkov
c055a274e9
kernel32/tests: Add more directory change notification tests.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 19:12:12 +01:00
Jacek Caban
9050b58f07
ntdll: Correctly return result of blocking NtFlushBuffersFile.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 19:00:35 +01:00
Jacek Caban
4fc5aff509
kernel32: Wait on pipe handle in TransactNamedPipe if needed.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 19:00:35 +01:00
Jacek Caban
b114bd07b1
kernel32: Wait on pipe handle in ConnectNamedPipe if needed.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 19:00:35 +01:00
Zhiyi Zhang
3ebd2f0be3
kernel32: Implement FindStringOrdinal.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46035
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 10:53:50 +01:00
Alexandre Julliard
2769bb1e9b
kernel32: Add CreateProcessAsUserA/W.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-26 21:18:26 +02:00
Alexandre Julliard
cdddf02d0c
kernel32: Implement CreateProcessInternalA/W.
...
Based on a patch by Michael Müller.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-26 13:29:10 +02:00
Sebastian Lackner
139cc95610
kernel32: Add SetFileCompletionNotificationModes implementation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38960
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-25 20:32:03 +02:00
Alexandre Julliard
7a8ff7fab3
kernel32: Avoid setting an empty current directory in the process params.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-24 16:58:08 +02:00
Alexandre Julliard
1a561b640b
kernel32: Use the Unicode string length to build the argv array.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-24 16:58:08 +02:00
Alexandre Julliard
33c3cee817
kernel32: Get std handles from the process parameters.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-24 16:58:08 +02:00
Jactry Zeng
ebc0e5ffb5
kernel32: Don't check a discarded variable.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-24 16:58:05 +02:00
Alexandre Julliard
7e96514029
kernel32: Separate the exec process functionality.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 11:56:47 +02:00
Alexandre Julliard
a77ef5c443
server: Add a separate request to exec a new process.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 11:44:25 +02:00
Nikolay Sivov
7d1cef5409
kernel32: Add GetProcessMitigationPolicy() stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 11:36:05 +02:00
Nikolay Sivov
d75f2fc3c7
kernel32/tests: Add SearchPath() test for file name with multiple extension delimiters.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 11:14:32 +02:00
Nikolay Sivov
6a106ac9bf
kernel32/tests: Remove workarounds for SearchPath().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 11:14:31 +02:00
Dmitry Timoshkov
ccf9b18ea0
kernel32: GetLongPathName should fail when called with a wildcard.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:55:02 +02:00
Dmitry Timoshkov
3a78ec672a
kernel32: GetShortPathName should fail when called with a wildcard.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:55:01 +02:00
Dmitry Timoshkov
9bc6068843
kernel32/tests: Add some tests for GetLongPathName/GetShortPathName called with a wildcard.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:54:59 +02:00
Jacek Caban
dd1769a16a
server: Improve error handling of disconnected named pipe clients.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:53:43 +02:00
Jacek Caban
0fe08b794d
kernel32/tests: Add more PeekNamedPipe tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:53:31 +02:00
Jacek Caban
ee28e0107c
server: Return STATUS_BUFFER_OVERFLOW in pipe_end_peek for partial reads in message mode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:53:25 +02:00
Alexandre Julliard
c4d85843c0
kernel32: Get the current directory from the process parameters in create_cmd_process().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 22:26:07 +02:00
Alexandre Julliard
ec0c5a11fd
kernel32: Move environment Unicode conversion into create_process_params().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 20:46:34 +02:00
Akihiro Sagawa
b02cdd3615
kernel32: Fix LCMapString buffer calculation with LCMAP_KATAKANA and LCMAP_HALFWIDTH.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45982
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:51 +02:00
Akihiro Sagawa
96b4a5a356
kernel32/tests: Add LCMapString tests with a voiced consonant Hiragana character.
...
Use U+3060 (HIRAGANA LETTER DA) in the test.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:51 +02:00
Alexandre Julliard
27ba57e804
kernel32: Pass the standard process parameters structure to fork_and_exec().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:51 +02:00
Alexandre Julliard
ed551282b4
kernel32: Pass the standard process parameters structure to create_process().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:51 +02:00
Louis Lenders
35f62f644d
kernel32: Add stub for MoveFileTransacted{A,W}.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45995
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:51 +02:00
Dmitry Timoshkov
f184a396a8
kernel32: MoveFile should make sure that it has the delete access to the source file.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:50 +02:00
Dmitry Timoshkov
7edfcd63ad
kernel32: MoveFile(source, source) should succeed.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:50 +02:00
Dmitry Timoshkov
b1d878fd2c
kernel32/tests: Move the MoveFile test where it belongs.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 14:05:11 +02:00
Dmitry Timoshkov
c1c0a08388
kernel32/tests: Fix a bunch of access denied errors by using a dedicated TEMP directory.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 14:05:10 +02:00
Dmitry Timoshkov
75d6c63a40
kernel32/tests: Fix compilation with PSDK.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 14:05:08 +02:00
Alexandre Julliard
79e2afaaae
kernel32: Build a standard process parameters structure in CreateProcess().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-11 18:08:02 +02:00
Alexandre Julliard
0964b3cd13
kernel32: Use the CPU type from the image information in CreateProcess().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-11 18:07:34 +02:00