Commit Graph

473 Commits

Author SHA1 Message Date
Alexandre Julliard 05d00276c6 kernel32: Move some module functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 12:46:59 +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
Alexandre Julliard d8582d97a0 kernel32: Move process/thread attribute list functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 15:24:52 +02:00
Alexandre Julliard 09f588ee69 kernel32: Move some process functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 15:24:52 +02:00
Alexandre Julliard f2e7e1658b kernel32: Move more thread functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 14:49:48 +02:00
Alexandre Julliard c168fd066d kernel32: Move fiber functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:36 +02:00
Alexandre Julliard 296da1fbb1 kernel32: Move thread pool functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:35 +02:00
Alexandre Julliard 0116660dd8 kernel32: Move thread functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:35 +02:00
Alexandre Julliard 5b5c5df676 kernel32: Move activation context functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 16:28:17 +02:00
Alexandre Julliard 5129c45982 kernel32: Move resource functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 16:28:17 +02:00
Alexandre Julliard aa58676ae0 kernel32: Move wait functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Alexandre Julliard bc28ed4c6c kernel32: Move named pipe functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Alexandre Julliard 1834d9e9fe kernel32: Move I/O completion functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:16 +02:00
Alexandre Julliard 9585990a46 kernel32: Move condition variable functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:13 +02:00
Alexandre Julliard 628d4450cd kernel32: Move file mapping functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:09 +02:00
Alexandre Julliard aa7f8e930d kernel32: Move critical section functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:06 +02:00
Alexandre Julliard d33d05ce27 kernel32: Move timer queue functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:03 +02:00
Alexandre Julliard 8c63d02d5f kernel32: Move waitable timer functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:59 +02:00
Alexandre Julliard 591266881c kernel32: Move semaphore functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:56 +02:00
Alexandre Julliard 93a5451152 kernel32: Move mutex functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:53 +02:00
Alexandre Julliard 558e48aafd kernel32: Move event functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:49 +02:00
Alexandre Julliard 2a455ce049 kernel32: Move lstr* string functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:46 +02:00
Alexandre Julliard 32fdffac42 include: Implement some inline functions in C instead of assembly.
This way the same code can be used on all platforms.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:53 +02:00
Huw Davies 13e11d3fcb kernel32: Move the implementation of GetTickCount() to kernel32.
Fixes regression caused by 3e927c4aec.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47265
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 21:53:27 +02:00
Manuel Edelmann bc7e98a1a9 kernel32: Added stub for Set/GetProcessPreferredUILanguages.
Signed-off-by: Manuel Edelmann <varris@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 20:52:38 +02:00
Roman Stingler e9dad9d733 kernel32: Add stub WerUnregisterRuntimeExceptionModule.
Signed-off-by: Roman Stingler <roman.stingler@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:23:17 +02:00
Huw Davies 3e927c4aec ntdll: Extend NtGetTickCount() to return 64-bits. Forward kernel32 functions to it.
Marking the function as DECLSPEC_HOTPATCH to avoid reopening
https://bugs.winehq.org/show_bug.cgi?id=36486 .  Even with -fno-PIC,
without DECLSPEC_HOTPATCH the generated code has a pushl at offset 7
that triggers the failure.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 20:54:23 +02:00
Huw Davies 71dc2514c3 kernel32: Forward GetSystemTimeAsFileTime() to NtQuerySystemTime().
This relies on FILETIME and LARGE_INTEGER having the same layout.

On an i7-8700 CPU @ 3.20GHz with HZ=1000 it cuts the call cost from
~18ns to ~12ns.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 19:23:48 +02:00
Roman Stingler 52065a31d7 kernel32: Added some Numa stubs.
Signed-off-by: Roman Stingler <roman.stingler@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:44:11 +02:00
Louis Lenders fb4116ee02 kernel32: Add K32GetWsChangesEx stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47131
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-09 08:23:31 -05:00
Dmitry Timoshkov f80059544b kernel32: Add MapUserPhysicalPages stub.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-25 17:28:11 +02:00
Fabian Maurer 28e6fe3782 kernel32: Stub FindFirstStreamW/FindNextStreamW.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46934
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:28 +02:00
Fabian Maurer 63743c3984 kernel32: Partially implement VirtualAllocExNuma.
Ignoring the preferred node should be good enough.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46927
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:28 +02:00
André Hentschel 63352b5cce kernel32: Add forward for RtlInstallFunctionTableCallback on ARM/ARM64.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:22 +02:00
Alexandre Julliard 24721eccac ntdll: Use the fastcall flag for RtlInterlockedPushListSList.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:29 +01:00
Alistair Leslie-Hughes 941e4f5441 kernel32: Correct GetCurrencyFormatW/A spec entries.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 17:35:14 +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
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
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
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
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
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
Zebediah Figura b79fd400c0 kernel32: Implement GetQueuedCompletionStatusEx().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43878
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-01 19:12:21 -07:00
Gijs Vermeulen e850369dd8 Revert "kernel32: Add GetQueuedCompletionStatusEx stub.".
This partially reverts commit f1be5c7861.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45891
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-28 15:22:25 +02:00
Gijs Vermeulen f1be5c7861 kernel32: Add GetQueuedCompletionStatusEx stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43878
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-24 22:41:29 +02:00
André Hentschel 7e39544bfa kernel32: Add stub for SetProcessWorkingSetSizeEx.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45523
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 18:35:33 +02:00
Louis Lenders ad8f450957 kernel32: Add stub for GetApplicationRestartSettings.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:36 +02:00
Fabian Maurer 41c0219e05 kernel32: Add stub for SetProcessMitigationPolicy.
This is needed by x64 chromium sandbox for >= win8.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45643
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 21:01:09 +02:00
Guillaume Charifi 94dda4690b kernel32: Add stub for GetDynamicTimeZoneInformationEffectiveYears().
Signed-off-by: Guillaume Charifi <guillaume.charifi@sfr.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Zebediah Figura 2c551a9054 kernel32: Implement Wow64SetThreadContext().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-12 14:01:35 +02:00
Zebediah Figura e50c507cf6 kernel32: Implement Wow64GetThreadContext().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-12 14:01:35 +02:00
Thomas Crider 1211b37878 kernel32: Add SetProcessAffinityUpdateMode stub.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-17 10:04:42 +02:00
Alistair Leslie-Hughes d5fd01350f kernel32: Implement GetCurrencyFormatEx.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-18 10:21:33 +02:00
Hans Leidekker f297fd800b kernel32: Add stub implementations of GetNamedPipeClient/ServerSessionId.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Hans Leidekker dedd450689 kernel32: Implement GetNamedPipeClient/ServerProcessId.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Louis Lenders b1fa1e9a6d kernel32: Add stub for RequestDeviceWakeup.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:11 +02:00
Alexandre Julliard ff8471eb07 kernel32: Implement QueryActCtxSettingsW.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-23 09:14:12 +01:00
Austin English 252752f8d9 kernel32: Add GetNumaNodeProcessorMaskEx stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 12:10:32 +01:00
Sergio Gómez Del Real 2d74a4ff43 kernel32: Implement FindNLSStringEx.
Signed-off-by: Sergio Gómez Del Real <sdelreal@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 20:58:07 +01:00
Alistair Leslie-Hughes aca044139d kernel32: Add UmsThreadYield stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:56:32 -06:00
Alistair Leslie-Hughes 408500115d kernel32: Add SetUmsThreadInformation stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:56:24 -06:00
Alistair Leslie-Hughes 8af9344519 kernel32: Add QueryUmsThreadInformation stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:56:17 -06:00
Alistair Leslie-Hughes e7ff7b5ada kernel32: Add GetUmsCompletionListEvent stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:56:10 -06:00
Alistair Leslie-Hughes ead8dd6f55 kernel32: Add GetNextUmsListItem stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:56:04 -06:00
Alistair Leslie-Hughes c9cb63bed6 kernel32: Add GetCurrentUmsThread stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:55:55 -06:00
Alistair Leslie-Hughes 1e45144570 kernel32: Add ExecuteUmsThread stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:55:43 -06:00
Alistair Leslie-Hughes d371c451e1 kernel32: Add EnterUmsSchedulingMode stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:55:35 -06:00
Alistair Leslie-Hughes 70c8126ffc kernel32: Add DequeueUmsCompletionListItems stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:55:27 -06:00
Alistair Leslie-Hughes bb4872bab0 kernel32: Add DeleteUmsThreadContext stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:55:16 -06:00
Alistair Leslie-Hughes d4819eea0e kernel32: Add DeleteUmsCompletionList stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:55:07 -06:00
Alistair Leslie-Hughes d3f7b119ff kernel32: Add CreateUmsThreadContext stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:54:51 -06:00
Alistair Leslie-Hughes e7bd802caa kernel32: Add CreateUmsCompletionList stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:54:04 -06:00
Nikolay Sivov 32617e814a kernel32: Add CreateRemoteThreadEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:26:12 +01:00
Nikolay Sivov cb05be7bff kernel32: Add GetEnabledXStateFeatures() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:25:51 +01:00
Fabian Maurer 5eb13b2413 kernel32: Add stub for ReOpenFile.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:58 +01:00
Austin English db5a57c5f2 kernel32: Add QueryProcessCycleTime stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:58 +01:00
Andrey Gusev cf415c62ed kernel32: Add CreateThreadpoolIo stub.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-24 16:48:03 +01:00
Sebastian Lackner 59ecc9ccd9 kernel32: Add stub for GetProcessWorkingSetSizeEx.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-13 08:45:22 +02:00
Alexandre Julliard 12167d2e36 kernel32: Implement AddDllDirectory and RemoveDllDirectory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-29 08:16:52 +02:00
Alexandre Julliard 1b85b6cab7 krnl386: Use RtlCaptureContext and NtSetContextThread to implement register functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 12:04:46 +02:00
Alexandre Julliard c5a35d898f krnl386: Explicitly fetch the service argument in VxDCall.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 11:51:18 +02:00
Alexandre Julliard f91b4bd410 krnl386: Add a simple wrapper for CommonUnimpStub instead of saving/restoring all registers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-24 18:58:30 +02:00
Alexandre Julliard 92d5ce3c76 krnl386: Simplify a couple of register functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-24 18:58:30 +02:00
Alexandre Julliard a75e3f734d ntdll: Call NtRaiseException directly from RtlRaiseException on i386.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 13:54:43 +02:00
Jactry Zeng b9a9fe4a04 kernel32: Add stub for ResolveLocaleName.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-19 19:13:30 +02:00
Austin English 980754bff7 kernel32: Add SetThreadIdealProcessorEx stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-24 17:55:47 +02:00
Austin English 66b37c556c kernel32: Add GetActiveProcessorCount stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-24 17:54:14 +02:00
Austin English 360e9544bf kernel32: Add GetActiveProcessorGroupCount stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-24 17:53:11 +02:00
Michael Müller 2b79436ab9 kernel32: Add stub for GetPackageFullName.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 11:09:59 +02:00
Austin English ad6c781eb2 kernel32: Add GetVolumeInformationByHandleW stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:04 +01:00
Michael Müller d2b98081fd kernel32: Add stub for GetCurrentPackageFamilyName.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:31:48 +01:00
Louis Lenders 3f50319ec3 kernel32: Add stub for GetCurrentPackageFullName.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 21:02:18 +01:00
André Hentschel 88eef73fc8 kernel32: Fix some more spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-27 10:17:01 +01:00
André Hentschel 92efdb108e kernel32: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:50 +01:00
Austin English 0df25df828 kernel32: Add BaseFlushAppcompatCache stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 16:49:18 +01:00
Huw Davies 4c146152dd kernel32: Implement Process thread attribute lists.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-06 15:44:01 +01:00
Austin English 5003f15289 kernel32: Add SetDefaultDllDirectories stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 00:07:57 +09:00
Austin English 0f137a0b89 ntdll: Forward DecodeSystemPointer/EncodeSystemPointer to DecodePointer/EncodePointer.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:47:51 +09:00
Daniel Lehman e9e538abff kernel32: Add GetNumberFormatEx.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-19 16:43:23 +09:00
Piotr Caban 4c50ef6995 ntdll: Add RtlRestoreContext implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:49:33 +09:00
Austin English 4d313e6475 kernel32: Implement GetLargePageMinimum.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:19 +09:00
Austin English b0ce049cbb kernel32: Add FreeUserPhysicalPages stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-28 13:11:31 +09:00
Austin English 77733651ad kernel32: Add GetConsoleFontInfo stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:53:27 +09:00
Michael Müller 6e12aba9c7 kernel32: Implement GetFinalPathNameByHandle.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-09 00:12:23 +09:00
Austin English 43637ce9f7 kernel32: Add GetConsoleAliasExesLengthA/W stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:40 +09:00
Hugh McMaster 408205cb04 kernel32: Add a stub for SetCurrentConsoleFontEx.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:28 +09:00
Sebastian Lackner 49051392d7 kernel32: Forward InterlockedPushListSList[Ex] to ntdll.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:22:20 +09:00
Vincent Povirk b922b55182 kernel32: Implement GetTimeZoneInformationForYear.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-03 00:00:32 +09:00
Stefan Leichter 1c3c9f06c5 kernel32: Add stub for GetSystemPreferredUILanguages.
Signed-off-by: Stefan Leichter <Stefan.Leichter@camLine.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 23:00:51 +09:00
Austin English 6b36d7cfef kernel32: Add SetSearchPathMode stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-14 22:16:50 +09:00
Austin English 57d1171208 kernel32: Add GetConsoleScreenBufferInfoEx/SetConsoleScreenBufferInfoEx stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 00:50:48 +09:00
Hugh McMaster c9364659aa kernel32: Add a stub for SetConsoleFont.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:07:42 +01:00
Nikolay Sivov 61c49bd78e kernel32: Implement EnumTimeFormatsEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 00:08:24 +09:00
Nikolay Sivov 3d728e68d3 kernel32: Implement EnumDateFormatsExEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:51 +09:00
Austin English 7c92862071 kernel32: Add SetConsoleKeyShortcuts stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 23:12:03 +09:00
Austin English 4bfe66e702 kernel32: Add AllocateUserPhysicalPages stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:25 +09:00
Hugh McMaster f0ee54a776 kernel32: Implement GetNumberOfConsoleFonts.
We only ever have one entry in the console font table.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:24 +09:00
Sebastian Lackner 966827bbc1 kernel32: Implement stub for GetPhysicallyInstalledSystemMemory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:39 +09:00
Austin English a26a6b877d kernel32: Add a stub for CancelSynchronousIo.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:23 +09:00
Austin English 132ff59b3e kernel32: Add a stub for GetCurrentProcessorNumberEx.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:55 +09:00
Michael Müller 9d58aac467 kernel32: Implement Set/GetThreadGroupAffinity and add tests.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-02 18:11:31 +09:00
Sebastian Lackner 6c586d5db8 kernel32: Forward threadpool wait functions to ntdll. 2015-07-06 14:49:39 +09:00
Sebastian Lackner eadd27a38a kernel32: Forward remaining threadpool functions to ntdll. 2015-07-03 13:08:20 +09:00
Sebastian Lackner 56b9af1150 kernel32: Forward threadpool instance functions to ntdll. 2015-07-03 13:08:05 +09:00
Sebastian Lackner 4b0ecd3e22 kernel32: Forward threadpool timer functions to ntdll. 2015-07-03 13:07:47 +09:00
Sebastian Lackner 1165cc0953 kernel32: Forward threadpool work functions to ntdll. 2015-07-03 13:07:37 +09:00
Sebastian Lackner a54d972868 kernel32: Forward threadpool cleanup group functions to ntdll. 2015-07-03 13:07:18 +09:00
Michael Müller d0ae2b0d3d kernel32: Implement 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 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
Alexandre Julliard 3494fb7f72 kernel32: Avoid resolving imports against the advapi32 forwards. 2015-06-10 15:26:05 +09:00
André Hentschel a18f84c0b1 ntdll: Add stub for __chkstk on ARM. 2015-05-29 15:03:05 +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
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
Sebastian Lackner 4ae0ef44d2 kernel32: Add stub for PowerClearRequest. 2015-04-07 15:14:40 +09:00
Sebastian Lackner 25505995af kernel32: Add stub for PowerSetRequest. 2015-04-07 15:14:35 +09:00
Sebastian Lackner 966dd5074d kernel32: Add stub for PowerCreateRequest. 2015-04-07 15:14:29 +09:00
Mark Harmstone ed0c6746dd kernel32: Stub out GetFileMUIPath. 2015-04-06 12:49:03 +09:00
Austin English 88362a0770 kernel32: Add a stub for QueryThreadCycleTime. 2015-03-30 19:49:11 +09:00
Nikolay Sivov 85a3d09329 kernel32: Implement GetProcessIdOfThread(). 2015-03-20 21:31:57 +09:00
Austin English 295f194804 kernel32: Add SetVolumeMountPointA/W stubs. 2015-02-12 22:12:22 +09:00
Austin English b331c4f931 kernel32: Add CreateHardLinkTransactedA/W stubs. 2015-02-05 22:42:22 +09:00
Austin English ae98c9a42b kernel32: Sync spec file with windowss 7. 2015-01-28 11:08:21 +01:00
Daniel Scharrer 4d05cfe577 kernel32: Add stub implementation for EnumResourceLanguagesEx. 2015-01-27 22:03:17 +01:00
Austin English fa80425242 kernel32: Add GetSystemFirmwareTable stub. 2015-01-26 12:06:04 +01:00
Seán de Búrca 6cd0eb2027 kernel32: Implement Get{Time,Date}FormatEx. 2015-01-06 12:59:07 +01:00
Sebastian Lackner cacc9ae888 psapi: Implement semi-stub for K32EnumProcessModulesEx. 2014-12-16 17:25:36 +01:00
Austin English 76dc45aa1a kernel32: Add a stub for GetUserPreferredUILanguages. 2014-12-10 19:32:28 +01:00
Stefan Leichter 9668dddfc9 kernel32: Add stubs for CreateSymbolicLinkA/W. 2014-12-05 11:24:51 +01:00
Austin English 4c0ceacee0 ntdll: Add stubs for vectored continue handler. 2014-11-13 16:31:49 +09:00
Austin English 1ade676968 kernel32: Add a stub for CancelTimerQueueTimer. 2014-10-27 17:35:45 +09:00
Austin English 96e920e01f kernel32: Add a stub for SetSystemFileCacheSize. 2014-10-08 16:34:29 +02:00
Austin English 2a5299ea32 kernel32: Add a stub for GetSystemFileCacheSize. 2014-10-08 16:34:17 +02:00
Austin English 2f3fc38ee0 kernel32: Add stubs for GetFirmwareEnvironmentVariableA/W. 2014-06-30 22:04:53 +02:00
Austin English fd6c5490df kernel32: Add a stub for UnregisterApplicationRestart. 2014-06-18 16:31:14 +02:00
Sebastian Lackner 7ba43b2fd1 kernel32: Forward RtlInstallFunctionTableCallback to ntdll. 2014-04-08 19:23:19 +02:00
Nikolay Sivov b82b1306a4 kernel32: Added QueryUnbiasedInterruptTime(). 2014-04-02 15:50:09 +02:00
Nikolay Sivov 467b769623 kernel32: Added SetWaitableTimerEx(). 2014-03-24 11:38:22 +01:00
Nikolay Sivov 975abdea7f kernel32: Added WerUnregisterMemoryBlock() stub. 2014-03-20 10:42:01 +01:00
Nikolay Sivov 95142cad53 kernel32: Partial implementation for GetCalendarInfoEx(). 2014-03-03 17:02:14 +01:00
Sebastian Lackner 72cf5d6f12 kernel32: Forward SleepConditionVariableSRW to ntdll. 2014-01-27 14:13:49 +01:00
Sebastian Lackner 60c0637f62 kernel32: Forward TryAcquireSRWLockShared/Exclusive to ntdll. 2014-01-27 14:13:46 +01:00
Sebastian Lackner ddc7f300e2 kernel32: Forward condition variable functions to ntdll. 2014-01-08 14:34:14 +01:00
André Hentschel b6b9050d58 ntdll: Implement LdrResolveDelayLoadedAPI. 2013-11-12 12:58:03 +01:00
André Hentschel fa6b058070 kernel32: Add partial CreateFile2 implementation. 2013-09-10 11:06:31 +02:00
Alexandre Julliard 4af4df5af3 ntdll: Add stubs for the SRW lock functions. 2013-09-03 16:58:19 +02:00
Alexandre Julliard 1992f5005c kernel32: Implement the InitOnce functions. 2013-08-28 22:27:32 +02:00
Dmitry Timoshkov e7ade611ad kernel32: Correct HeapFree .spec parameter type. 2013-06-26 12:13:40 +02:00
Alexandre Julliard 3173e275ec kernel32: Disable relay for some trivial functions. 2013-05-03 12:42:20 +02:00
André Hentschel 3c04958b8a ntdll: Implement RtlLookupFunctionEntry on ARM. 2013-03-25 14:08:42 +01:00
André Hentschel df7f4fb720 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM. 2013-03-25 14:08:32 +01:00
André Hentschel 2976b6342f kernel32: Add stub for GetCurrentPackageId. 2013-02-20 10:33:28 +01:00
Ričardas Barkauskas 2c04118534 kernel32: Add SetFileInformationByHandle stub. 2013-01-23 12:46:25 +01:00
Christian Costa ba5cade700 kernel32: Implement CompareStringOrdinal. 2012-11-02 19:47:15 +01: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
Alistair Leslie-Hughes 53d7355949 kernel32: Add GetConsoleFontSize stub. 2012-08-22 12:10:25 +02:00
Alistair Leslie-Hughes 71d3d4f1ba kernel32: Add GetCurrentConsoleFont stub. 2012-08-22 12:09:37 +02:00
Austin English 5dfc2a34ea kernel32: Implement IsValidLocaleName (with tests). 2012-08-16 17:26:45 +02:00
Nikolay Sivov 48ff6fa927 kernel32: Added WerRegisterMemoryBlock stub. 2012-07-30 17:13:34 +02:00
Nikolay Sivov b1c3c8c898 kernel32: Added InitOnceInitialize() implementation. 2012-07-23 12:53:24 +02:00
Nikolay Sivov b586be515c kernel32: Added GetSystemDefaultLocaleName(). 2012-07-23 12:50:26 +02:00
Nikolay Sivov 0e234f3c25 kernel32: Partial CompareStringEx implementation. 2012-07-20 14:01:45 +02:00
Austin English b22de982c0 kernel32: Add a stub for GetLocaleInfoEx. 2012-07-10 10:43:06 -05:00
Austin English 843390f9c9 kernel32: Add a stub for GetDynamicTimeZoneInformation. 2012-07-09 15:46:35 -04:00
Austin English 275fc471fe kernel32: Add a stub for WerSetFlags. 2012-07-09 15:46:21 -04:00
André Hentschel 3cd0834a24 kernel32: Change LCMapStringW to LCMapStringEx and call it from LCMapStringW. 2012-06-28 11:36:56 +02:00
Austin English e8c283c009 kernel32: Add a stub for SetConsoleIcon. 2012-06-05 11:50:45 +02:00
Alexandre Julliard bb23d63663 ntdll: Export _local_unwind. 2012-05-29 21:33:45 +02:00
André Hentschel 5e5b435e7d kernel32: Add stub for SetThreadStackGuarantee. 2012-05-29 10:44:28 +02:00
Detlef Riekenberg 02b74d3fd3 ntdll: Implement NtGetCurrentProcessorNumber. 2012-05-21 10:20:25 +02:00
Austin English 80ef24b057 kernel32: Add a stub for FlushProcessWriteBuffers. 2012-05-02 20:11:54 +02:00
Alexandre Julliard 3d4a73e601 ntdll: Add a __chkstk entry point for x86_64. 2012-04-02 12:46:40 +02:00