Commit Graph

260 Commits

Author SHA1 Message Date
Eric Pouech 119f261b18 shlwapi: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:32:19 +01:00
Eric Pouech bb1fc33570 include/msvcrt: Add attribute((format)) to printf and scanf -like APIs.
Fix a bunch of warnings generated by this patch and the migration of
GUID.Data1 to long in ae2693e2c4

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:55 +01:00
André Zwing 08c856570a shlwapi: Report keyName as string.
Signed-off-by: André Zwing <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-10 11:43:11 +01:00
Alexandre Julliard 56af82b165 shlwapi: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-22 11:12:52 +02:00
Francois Gouget c2391296b8 shlwapi: Fix the length returned by SHFormatDateTimeA().
The ANSI string may be longer than the Unicode one.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 16:07:56 +02:00
Francois Gouget 25978317ce shlwapi: Fix ASCII / ANSI mixups in comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-30 22:49:58 +02:00
Serge Gautherie 0662da18b8 shlwapi: RegQueryValueExW() wants bytes, not chars.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:10:54 +02:00
Nikolay Sivov b84d56fb04 shlwapi: Add header entries for SHIsLowMemoryMachine().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 12:36:16 +01:00
Nikolay Sivov 8363316f62 shlwapi: Fix SHGetViewStatePropertyBag() prototype.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 12:36:11 +01:00
Nikolay Sivov 017c953d86 shlwapi: Use public definitions for WhichPlatform().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 12:36:08 +01:00
Francois Gouget 1f552719bd shlwapi: Fix the spelling of a couple of comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 09:58:41 +01:00
Alexandre Julliard c9205f1761 shlwapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Alexandre Julliard 605f503a8a shlwapi: Import QISearch() from kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Alexandre Julliard 47c131ebcb shlwapi: Import string functions from kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Sebastian Lackner 7f6e109081 shlwapi: SHMapHandle should not set error when NULL is passed as hShared.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:27:25 +02:00
Nikolay Sivov 47b976e693 shlwapi: Forward IsOS() to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-05 09:24:07 +01:00
Nikolay Sivov 678c18b22e shlwapi: Forward ThreadRef functions to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:57:05 +01:00
Nikolay Sivov 24d5e853b2 shlwapi: Forward IUnknown_* helpers 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
Michael Stefaniuc 9713e68a55 shlwapi: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:45 +02:00
Hermes Belusca-Maito 2c16322573 shlwapi: Make SHCreateWorkerWindowA/W 64-bit compatible.
Signed-off-by: Hermes Belusca-Maito <hermes.belusca@sfr.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 19:15:00 +01:00
Nikolay Sivov ed0520e2e2 shlwapi/tests: Fix uninitialized data access in tests (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-09 17:30:04 +09:00
Jared Smudde 1c2dd4b3e7 shlwapi: Fix OS_TABLETPC typo.
Signed-off-by: Jared Smudde <computerwhiz02@hotmail.com> 
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:13:50 +01:00
Olivier F. R. Dierick de0d8719d2 shlwapi: SHFreeShared returns TRUE when passed NULL handle.
Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-03 23:38:11 +09:00
Nikolay Sivov f51e7900eb shlwapi: Fix SHPropertyBag_ReadLONG prototype (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 19:18:43 +09:00
Marcus Meissner a2869de4d4 shlwapi: Add missing braces (Coverity). 2015-06-15 14:47:32 +09:00
Nikolay Sivov b5c2c0b05a shlwapi: Fix error handling in IUnknown_GetClassID (Coverity). 2015-06-08 15:26:36 +09:00
Francois Gouget 14aa446f1d shlwapi: Remove unneeded NONAMELESSXXX directives. 2015-03-20 18:05:07 +09:00
Michael Stefaniuc 6ae26c7b53 shlwapi: Remove always true if-check (PVS-Studio). 2014-11-26 17:26:44 +01:00
Nikolay Sivov 6ebe8d5a2a shlwapi: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:37 +02:00
Sebastian Lackner 403ff3734a shlwapi: Remove unnecessary internal function SHLWAPI_DupSharedHandle. 2014-10-02 20:31:54 +02:00
Sebastian Lackner c95b182d15 shlwapi: Fix swapped argument order in SHMapHandle. 2014-10-02 20:31:52 +02:00
Sebastian Lackner 5e4f15db1f shlwapi: Fixed swapped argument order in SHLWAPI_DupSharedHandle command. 2014-10-01 10:35:20 +02:00
David Quintana 2bb1059ad2 shlwapi: SHInvokeCommand last parameter is a command ID, or 0 to use the default. 2014-03-14 19:06:59 +01:00
Andrew Talbot 431b4f52d6 shlwapi: Indentation fix. 2012-12-24 13:32:42 +01:00
Nikolay Sivov 16cc2b8753 shlwapi: Implement IsCharSpaceA(). 2012-12-20 12:22:54 +01:00
Jacek Caban 4d5bebb321 shlwapi: Use proper helpers for iface calls. 2012-08-15 12:18:49 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Michael Stefaniuc 0556192994 shlwapi: Print the debug string and not the pointer to it. 2012-03-26 18:15:26 +02:00
Nikolay Sivov 762aa854ca shlwapi: Fix window style set with SHSetParentHwnd(). 2011-10-24 11:17:57 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
André Hentschel a4d8b22f43 shlwapi: Implement wow64 reporting. 2011-04-01 11:54:50 +02:00
Detlef Riekenberg ebecd5a779 shlwapi: Add stubs for SHWinHelpOnDemandA/W. 2011-02-15 17:25:04 +01:00
Nikolay Sivov 219f477a05 shlwapi/tests: Reset cookie after service revoked (Valgrind). 2011-01-31 12:28:38 +01:00
David Hedberg 8a4c60335e shlwapi: Add room for null terminator in local SHGetShellKey buffer. 2010-10-27 11:51:50 +02:00
Piotr Caban 52bd8542b7 shlwapi: Added SKSetValueW implementation. 2010-10-12 17:37:59 +02:00
Piotr Caban 6aa9494245 shlwapi: Added SKDeleteValueW implementation. 2010-10-12 17:37:56 +02:00
Piotr Caban 0ce727e433 shlwapi: Added SKAllocValueW implementation. 2010-10-12 17:37:54 +02:00
Piotr Caban c2f25a2206 shlwapi: Improved SHGetShellKey implementation. 2010-10-12 17:37:51 +02:00
Nikolay Sivov 31da90fd9d shlwapi: Implement SKGetValueW over SHGetShellKey. 2010-07-29 10:30:45 +02:00
Nikolay Sivov e7395e09e1 shlwapi: Partially implement SHGetShellKey. 2010-07-29 10:30:40 +02:00