Commit Graph

48 Commits

Author SHA1 Message Date
Nikolay Sivov f3a87a92e9 shcore/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-21 12:32:07 +01:00
Nikolay Sivov a7fd7c68fa shcore: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 10:57:17 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alex Henrie 67d0509f2f shcore: Add GetFeatureEnabledState stub.
Also for Windows PC Health Check.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-25 22:01:34 +01:00
Alex Henrie d9a63101b5 shcore: Add SubscribeFeatureStateChangeNotification stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52077
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-25 22:01:09 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard bd6b53740c winecrt0: Add a default implementation for DllCanUnloadNow().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Nikolay Sivov e7f60e39f6 shcore/stream: Implement generic CopyTo().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-26 12:20:26 +02:00
Mark Harmstone 5bc629a3e1 shcore: Add names for stubs.
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-02 21:13:17 +02:00
Alexandre Julliard 161fc6561c shcore: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 11:40:42 +01:00
Michael Stefaniuc 0785881b7b shcore/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-09 10:27:40 +01:00
Daniel Lehman f12a775b27 shcore: Return failure on Read past end of memory stream.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 22:18:21 +01:00
Daniel Lehman 16ceadd2f4 shcore: Return ISequentialStream interface for memory stream.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 21:39:18 +01:00
Derek Lesho 7489efa03f shcore: Add GetScaleFactorForDevice() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-27 20:49:59 +02:00
Louis Lenders f8ca13d30f shcore: Return S_OK in SetCurrentProcessExplicitAppUserModelID.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49189
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 22:03:52 +02:00
Nikolay Sivov 3e35bf3889 shlwapi: Forward SHRegDuplicateHKey() to shcore.dll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-11 22:18:46 +02:00
Vijay Kiran Kamuju bbdc670931 shcore: Add stub for GetScaleFactorForMonitor.
Based on a patch by Esdras Tarsis.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48016
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Alexandre Julliard 8c9f593e3b shcore: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
André Hentschel 51386804b4 shcore: Fix IUnknown_AtomicRelease spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:23:32 +02:00
Jactry Zeng 13e0b4839b shcore: Don't return E_FAIL in IStream::SetSize() for read-only mode.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-05 17:46:24 +01:00
Nikolay Sivov 6bab6ce8e1 shcore: Fix double free on error path (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-08 09:38:31 -06:00
Nikolay Sivov 0e966cbf5c shcore: Fix path string leak for file streams (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 11:15:34 +01:00
Michael Stefaniuc 1ab06f4665 shcore: Print the debugstr instead of the pointer to it.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-05 22:33:43 +01:00
Nikolay Sivov a587b7938b shlwapi: Forward SHDeleteEmptyKey() to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:01:59 +01:00
Nikolay Sivov 29a15a35f5 shlwapi: Forward file-base stream calls to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Nikolay Sivov 16eece44e3 shcore: Fix return value for file-based Commit().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Nikolay Sivov 588b734e35 shcore: Add IsOS().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Nikolay Sivov 6ae247bb50 shcore: Add registry access helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Nikolay Sivov 38faec25cf shcore: Add some registry key delete helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 15:53:48 +01:00
Nikolay Sivov a88f66d155 shcore: Add SHRegDuplicateHKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 15:53:36 +01:00
Nikolay Sivov d7a4556111 shcore: Add registry value stream functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 15:53:20 +01:00
Nikolay Sivov ea0dbc753f shcore: Implement a bunch of string conversion functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 15:49:50 +01:00
Nikolay Sivov 0046c1f5bd shcore: Add StrDupA()/StrDupW().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:36:31 +01:00
Nikolay Sivov e44a4173cd shcore: Add SHCreateThread().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:36:22 +01:00
Nikolay Sivov 444b1cb34e shell32: Forward process reference calls to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 19:32:15 +01:00
Nikolay Sivov 4e22ba2627 shcore: Add process reference API.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 19:32:15 +01:00
Nikolay Sivov e74a36f5c8 shcore: Add ThreadRef functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 19:14:12 +01:00
Nikolay Sivov dd4bb94706 shcore: Add file-based stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 19:14:01 +01:00
Nikolay Sivov b54d72ef0b shcore: Implement SHCreateMemStream().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 19:13:31 +01:00
Nikolay Sivov e4115e36c4 shcore: Add CommandLineToArgvW().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:25:28 +01:00
Nikolay Sivov aa6b80723c shcore: Add AppUserModelID stubs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:25:17 +01:00
Nikolay Sivov 35216c7938 shcore: Turn COM exports to stubs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:25:05 +01:00
Nikolay Sivov d1443c3a50 shcore: Implement method wrapper functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-23 17:49:32 +01:00
Alexandre Julliard 8b7ed36307 user32: Add partial stub for GetDpiForMonitorInternal().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Alexandre Julliard 7a7dd5005c shcore: Implement Get/SetProcessDpiAwareness().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Sebastian Lackner 6f7532cb7b shcore: Add SetProcessDpiAwareness stub.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 17:14:27 +01:00
Sebastian Lackner 4a4bf34f06 shcore: Implement semi-stub for GetDpiForMonitor.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 17:14:12 +01:00
Sebastian Lackner 225f8bea79 shcore: Add stub dll and GetProcessDpiAwareness stub.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 17:09:40 +01:00