Commit Graph

67 Commits

Author SHA1 Message Date
Eric Pouech 570e24a014 shell32: 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:11 +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
Zhiyi Zhang 32584bb521 shell32: Pass size in bytes to RegLoadMUIStringW() and RegQueryValueExW().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:29:25 +02:00
Alexandre Julliard b215536852 shell32: Use wide char string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 48d62fc623 shell32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:24:05 +02:00
Andrew Eikum 2e6fea0d1c shell32: Avoid gcc 11 misleading-indentation warning.
dlls/shell32/classes.c:315:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
    dlls/shell32/classes.c:318:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-20 21:48:57 +02:00
Serge Gautherie 7cc2806e0e shell32: Properly init/use icon_idx.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-21 21:00:11 +01:00
Nikolay Sivov 612a194133 shell32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 12:35:12 +01:00
Frédéric Delanoy 6021107afd shell32: Use BOOL type where appropriate. 2013-11-19 18:47:41 +01:00
Frédéric Delanoy 0666ac3ed8 shell32: Use BOOL type where appropriate. 2013-10-22 16:37:40 +02:00
Andrew Talbot 1d7a407f6d shell32: Indentation fix. 2012-12-21 11:37:22 +01:00
Andrew Eikum 3f3e42b6bc shell32: ShellExec with empty operation should behave same as with NULL operation. 2011-10-19 16:38:51 +02:00
Nikolay Sivov 0f794f9510 shell32: Some debug tracing improvements. 2010-03-22 15:52:36 +01:00
Michael Stefaniuc 816a254276 shell32: Don't print the function name twice in an ERR. 2010-02-04 13:39:28 +01:00
Francois Gouget 0ecc22be61 shell32: HCR_GetDefaultIconFromGUIDW() is unused so remove it. 2009-02-09 13:15:11 +01:00
Marcus Meissner 0ff2c06c1d Fixed RegEnumKey(Ex)W buffer sizes. 2008-10-13 12:04:26 +02:00
Vitaliy Margolen dca07aa856 shell32: Don't print not initialized value. 2008-05-27 12:11:13 +02:00
Dan Kegel c5b499d37a shell32: Only print "HCR_GetFolderAttributes should be called for simple PIDL's" once. 2008-03-19 11:21:38 +01:00
Juan Lang e580a91f39 shell32: Use more restricted registry rights when quering values. 2007-11-19 12:55:03 +01:00
Michael Stefaniuc 15765dd953 The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility. 2006-10-16 10:53:04 +02:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
Francois Gouget 9607151e38 shell32: Fix computation of default verb.
Compute the default verb as documented on MSDN instead of blindly
assuming it is 'open'. This fixes the WordViewer association in some
cases.
2006-06-26 13:05:12 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Jung bbeeb4b5ad shell32: Query for localized string in HCR_GetClassName. 2006-02-14 10:41:29 +01:00
Martin Fuchs 7114f8c3bd shell32: Fix folder icon index when read from registry.
Change "DWORD dwNr" into "int icon_idx" at several places.
2006-01-11 12:33:24 +01:00
Michael Jung ff23dd29be Release shell folders only if they were successfully acquired. 2005-07-18 13:13:05 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
Mike McCormack e28c014a84 -Wpointer-sign fixes. 2005-07-03 12:03:35 +00:00
Michael Jung 11cadc368a Support for shellfolder's CallForAttributes registry value. 2005-06-25 17:55:53 +00:00
Huw Davies 47db6bc567 Unquote the icon file path if it's quoted. 2005-06-15 18:07:43 +00:00
Huw Davies 861282bf28 Fix the icon resource ids (most were off by one).
Fix IExtractIcon_{GetIconLocation,Extract} to use -ve icon resource
ids and fix bugs relating to confusion between resource ids and the
system imagelist indicies.
Extend the system imagelist initialization hack to load both +ve and
-ve resource ids.
Add a printer icon (that'll be used by an upcoming printer folder
patch).
2005-04-11 13:04:41 +00:00
Huw Davies 5be005b0d5 Don't prepend '\\' to the subkey name. 2005-03-03 13:52:06 +00:00
Francois Gouget f8e01efb3d Assorted spelling fixes. 2004-07-23 23:02:09 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Alexandre Julliard e025c59051 Fixed HCR_GetExecuteCommandW() behavior with a class name (based on a
patch by Martin Fuchs).
Removed a couple of no longer used functions.
2004-01-16 23:06:25 +00:00
Marcelo Duarte 36002739c7 - Implementation of HCR_GetExecuteCommandExW for internal use.
- New inline function  __SHCloneStrAtoW.
2003-12-10 00:39:31 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Jon Griffiths adc9b65022 Move IQueryAssociations into shlwapi. Docs/-W/MSVC++ fixes. 2003-07-19 03:07:41 +00:00
Ulrich Czekalla 52b732dd0d Handle SEE_MASK_CLASSKEY case for ShellExecute. 2003-05-19 23:07:49 +00:00
Alexandre Julliard c2ebe1ff93 Removed uses of the non standard ICOM_VTBL macro. 2003-04-10 18:17:34 +00:00
Juergen Schmied 799e6ce629 Fix recently broken GetDisplayNamesOf of names of shell extension
dlls.
2003-01-10 01:45:57 +00:00
Rolf Kalbermatter caf31cee32 Added Unicode versions of the HCR_ internal functions. 2002-12-13 23:45:36 +00:00
Gregg Mattinson 8c9bdcc9e1 Fixes for Sparc build. 2002-08-07 01:18:41 +00:00
Steven Edwards 9f573fa9a6 Portability fix. 2002-07-29 23:28:29 +00:00
Juergen Schmied 1e5ec8893d - Cleaned up the implementation of shell folders and put them into
separate files.
- Fixed some memory leaks.
- Some more fixes.
2002-07-24 01:56:03 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Gerard Patel 000e7606ab HCR_GetDefaultIcon should set icon number to 0 if it's missing from
the reg entry.
2002-02-19 18:31:22 +00:00
Aric Stewart 3ae80eb2e5 Fixed the behavior for SHGetFileInfo when the SHGFI_USEFILEATTRIBUTES
flag is set. Corrects the given type and icon.
2001-10-23 00:25:15 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00