Commit graph

437 commits

Author SHA1 Message Date
André Hentschel
1ab9c9d849 kernel32: Fix EscapeCommFunction prototype.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-19 09:48:36 +02:00
Nikolay Sivov
f6b8ce109c include: Added CreateSymbolicLink() flag.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 15:46:52 +02:00
Daniel Lehman
d22569e83c msvcp140: Add __crtFlushProcessWriteBuffers.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:55 +02:00
Daniel Lehman
e54654ef3f msvcp140: Add __crtFreeLibraryWhenCallbackReturns.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:33 +02:00
Daniel Lehman
5fb502b06e msvcp140: Add __crtWaitForThreadpoolTimerCallbacks.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:16 +02:00
Daniel Lehman
a0cf8ce924 msvcp140: Add __crtCloseThreadpoolTimer.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:03 +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
Piotr Caban
941ce07a4c msvcp140: Add __crtSetThreadpoolTimer implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban
0f8a703dee msvcp140: Add __crtCreateThreadpoolTimer implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Michael Müller
64dbd626be advapi32: Implement AddMandatoryAce.
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-02-17 20:54:04 +01:00
Alistair Leslie-Hughes
d5292b1fcf winnt.h: Implement RtlSecureZeroMemory.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 12:33:06 +01:00
Dmitry Timoshkov
8de06f12dd kernel32: Replace Peb->BeingDebugged check by CheckRemoteDebuggerPresent().
misctool.dll from AmiBroker intentionally sets PEB->BeingDebugged
to a random value returned by RDTSC instruction on PROCESS_ATTACH.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 21:39:05 +01:00
Alistair Leslie-Hughes
1ca3a8b7cd include: Correct value passed to __WINE_ALLOC_SIZE.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 10:05:43 +01:00
Alistair Leslie-Hughes
a9e50da352 include: Add UnlockResource prototype.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:53 +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
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
Sebastian Lackner
9dfa1022e9 services: Use threadpool API instead of custom wait implementation.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:38:14 +09:00
Ken Thomases
2e636d4fe8 kernel32: For Mac 64-bit, re-enable the inlining of various functions, leveraging the TEB self pointer at %gs:0x30.
On other platforms, gsbase is set to point to Wine's TEB.  So, these functions
can use %gs-relative addressing with the field offsets to access the fields of
the TEB.

On the Mac, gsbase points to internals of the pthread implementation and that
wouldn't work.  However, Wine hijacks %gs:0x30 and stores the TEB address there.
So, we access the TEB fields by first loading the TEB address and then
accessing its fields relative to that.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 21:38:02 +09:00
Akihiro Sagawa
719d86b70e include: Add definition of GetProcessIdOfThread.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-27 12:43:05 +09:00
André Hentschel
b83a5d78a4 advapi32: Add CreatePrivateObjectSecurityEx.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:52 +09:00
Nikolay Sivov
cd220569dd include: Fix IsBad* prototypes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 18:51:44 +09:00
Michael Müller
e7bbca8fcc include: Add definitions for Win8 pseudo handles.
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>
2016-02-11 12:15:51 +09:00
Andrew Eikum
6cecd59f66 include: Add TrySubmitThreadpoolCallback declaration.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:35:44 +09:00
Francois Gouget
cdb65950dd advapi32: Fix the FILE_DIR_DISALLOWED spelling.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 12:24:34 +09:00
Piotr Caban
ff698220c1 include: Fix CreateSymbolicLink and TryAcquireSRWLockExclusive prototypes.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:52 +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
Dmitry Timoshkov
d2f0bc2f74 advapi32: Add CreatePrivateObjectSecurityWithMultipleInheritance semi-stub.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-11 13:46:21 +09:00
YongHao Hu
aa7360d47e include: Add definition of CreateHardLink. 2015-08-24 08:20:31 +09:00
Michael Müller
d0ae2b0d3d kernel32: Implement GetNumaProcessorNode. 2015-06-29 19:07:51 +09:00
Olivier F. R. Dierick
01e5385882 kernel32: Implement SetFileCompletionNotificationModes as a stub. 2015-06-15 17:27:38 +09:00
Michael Müller
fd8fae105b kernel32: Improve stub for SetFileInformationByHandle. 2015-06-11 15:32:26 +09:00
Nikolay Sivov
5742497a35 kernel32/tests: Some tests for invalid classes in SetFileInformationByHandle(). 2015-06-09 18:05:48 +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
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
Sebastian Lackner
25505995af kernel32: Add stub for PowerSetRequest. 2015-04-07 15:14:35 +09:00
Austin English
88362a0770 kernel32: Add a stub for QueryThreadCycleTime. 2015-03-30 19:49:11 +09:00
Michael Müller
8f0d5a37a3 kernel32/tests: Add tests for GetFinalPathNameByHandleA/W. 2015-03-27 00:11:36 +09:00
Austin English
295f194804 kernel32: Add SetVolumeMountPointA/W stubs. 2015-02-12 22:12:22 +09: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
Charles Davis
193d15cc3c kernel32: Don't use %gs on 64-bit Mac OS. 2015-01-23 11:11:37 +01:00
Stefan Leichter
9668dddfc9 kernel32: Add stubs for CreateSymbolicLinkA/W. 2014-12-05 11:24:51 +01:00
Sebastian Lackner
19927ee517 kernel32/tests: Add test for GetProcessDEPPolicy. 2014-10-21 18:51:17 +09:00
Sebastian Lackner
20b5c99f11 kernel32/tests: Add tests for FindFirstFileExA with FIND_FIRST_EX_LARGE_FETCH flag. 2014-10-02 20:30:58 +02:00
Austin English
62e7c38859 include: Add EncryptedFileRaw functions and defines. 2014-08-29 10:45:08 +02:00
Andreas Mohr
6a86e2e983 kernel32: Fix naming/spelling/typo of macro to HasOverlappedIoCompleted(). 2014-08-04 19:28:04 +02:00
Austin English
fd6c5490df kernel32: Add a stub for UnregisterApplicationRestart. 2014-06-18 16:31:14 +02:00
Nikolay Sivov
056a8f1d23 include: Add more error codes. 2014-06-11 13:08:09 +02:00