Commit Graph

79 Commits

Author SHA1 Message Date
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
Piotr Caban c69eba9278 msvcp140: Added _Winerror_message implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-03 16:25:04 -05:00
Stefan Dösinger 5a4112c73a msvcp140/tests: Test _Last_write_time and _Set_last_write_time.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:09 +02:00
Piotr Caban a9c5ab9da6 msvcp140: Add _Last_write_time implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:09 +02:00
Stefan Dösinger 1604cdae90 msvcp140: Export _Rename.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-20 18:36:56 +02:00
Stefan Dösinger 17c203ea86 msvcp140: Implement _Temp_get.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-20 18:36:55 +02:00
Piotr Caban c92b71f6e8 msvcp110: Add _Syserror_map implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Michael Stefaniuc 65033d22ea msvcp140/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 15:09:42 +02:00
Piotr Caban dbce559df6 msvcr120: Add Concurrency::details::platform::GetCurrentThreadId export.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 18:57:44 +02:00
Piotr Caban a2d618ef22 msvcp140: Add _Task_impl_base::_IsNonBlockingThread stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 17:48:48 +02:00
Piotr Caban c07ade82ed msvcp140: Add __uncaught_exceptions implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 23:20:04 +01:00
Piotr Caban 87c3421ddb msvcp: Disable relay for _Thrd_current function.
Spotted by Stefan.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-07 19:15:09 +01:00
Stefan Dösinger 25e20ac8eb msvcp: Use int64 for byval _Thrd_t parameters.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-06 17:01:17 +01:00
Vijay Kiran Kamuju f94f169518 msvcp100: Add time_get::get function with format parameters.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-08 20:20:59 +01:00
Vijay Kiran Kamuju f6f0be8f2d msvcp100: Add time_get::do_get and time_get::get functions.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-24 19:09:54 +02:00
Stefan Dösinger b91fdc7700 msvcp140/tests: Port test_Unlink to msvcp140.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:04:14 +02:00
Stefan Dösinger 96fcf4cc03 msvcp: Implement the WCHAR version of _Link.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:04:14 +02:00
Stefan Dösinger 12dadd04cb msvcp: Implement the WCHAR version of _Symlink.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:04:14 +02:00
Stefan Dösinger eea0f37a1a msvcp: Implement the WCHAR version of _Unlink.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:04:13 +02:00
Stefan Dösinger d4f1175a93 msvcp140: Export _Remove_dir.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:00:13 +02:00
Piotr Caban e3af73716b msvcp140: Skip _Reschedule_chore tests when CreateThreadpoolWork is not available.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-04 16:53:07 +02:00
Jacek Caban fa65ab3caa msvcp: Added std::_Raise_handler implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-03 18:10:25 +02:00
Francois Gouget 4a463fae50 msvcp140/tests: Fix a typo in a variable name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-24 09:45:01 +02:00
Stefan Dösinger 8f0ff15ec7 msvcp140/tests: Port test_dir_operation to msvcp140.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-17 22:12:09 +02:00
Stefan Dösinger 621e96bfdb msvcp140: Implement _Stat and _Lstat.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-17 22:12:09 +02:00
Stefan Dösinger 8810c88abf msvcp140: Export _Current_set.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-11 18:24:55 +02:00
Stefan Dösinger f3b6c6ac04 msvcp140: Implement _Current_get.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-11 18:24:51 +02:00
Stefan Dösinger dc736dae63 msvcp140: Implement _File_size.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-11 18:24:42 +02:00
Mikhail Paulyshka aaaac6ffec msvcp140: Implement _To_byte.
Signed-off-by: Mikhail Paulyshka <me@mixaill.tk>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:51:10 +02:00
Stefan Dösinger 7c5e060be9 msvcp140: Implement _To_wide.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 11:10:20 +02:00
Stefan Dösinger 799230c78a msvcp140: Implement _Make_dir.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 20:47:47 +02:00
Stefan Dösinger b21ca1887f msvcp140: Implement _Close_dir.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-22 19:11:25 +02:00
Stefan Dösinger 3ddbd236d0 msvcp: Implement the wchar version of _Read_dir.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-22 19:11:25 +02:00
Stefan Dösinger 4193e717b6 msvcp: Implement the wchar version of _Open_dir.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-22 19:11:25 +02:00
Nikolay Sivov a374ff0b86 msvcp140/tests: Avoid filling value truncation in memset (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-19 17:44:03 +02:00
Daniel Lehman abad9308e8 msvcp140: Remove forwards for some _Thrd functions.
To be consistent with the others and the rest of the file

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-03 17:15:14 +02:00
Daniel Lehman 867a27c964 msvcrt: Add __ExceptionPtrAssign.
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-19 09:10:18 +02:00
Francois Gouget 3931491255 msvcp140/tests: Make chore_callback() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:09:18 +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 e437438a12 msvcp140: Add __crtGetCurrentProcessorNumber.
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:40 +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 8104282988 msvcp140: Add __crtCloseThreadpoolWait.
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:10 +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
Piotr Caban cf7f632b31 msvcrt: Add __ExceptionPtrCompare implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-24 20:51:36 +01:00
Piotr Caban 4c54f9aeac msvcp140: Add {_Schedule,_Reschedule,_Release}_chore implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Piotr Caban 17b34a2e08 msvcp140/tests: Add _TaskEventLogger tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-15 17:33:17 +01:00
Piotr Caban fe1ae48bbe msvcp140: Add _TaskEventLogger class implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-15 17:33:06 +01:00
Piotr Caban 10266f5bf5 msvcp140: Add __crtSetThreadpoolWait 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 d0c398a56c msvcp140: Add __crtCreateThreadpoolWait 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