Commit Graph

90 Commits

Author SHA1 Message Date
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
Alex Henrie f1f9b81e29 shell32: Rename icon 12 from "cdrom" to "optical drive".
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:38 +02:00
Nikolay Sivov e3b200bd8a shell32: Use global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Nikolay Sivov f7cc41d7ae shell32: Fix potential destination buffer overrun.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-21 19:13:51 +01:00
Nikolay Sivov 490ffe7f40 shell32: Don't trace output string buffer contents.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-21 19:13:49 +01:00
Andrey Gusev 954560f847 shell32: Use debugstr_guid() and debugstr_w() in TRACE() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-22 21:34:50 +09:00
Alexandre Julliard e330a128d5 shell32: Use Shell_GetImageLists to retrieve image lists instead of using a global variable. 2014-01-02 11:56:11 +01:00
Michael Stefaniuc 798beb2cb8 shell32: Print the debug string and not the pointer to it. 2012-03-26 18:15:24 +02:00
Francois Gouget 79e85098d0 shell32: Make extracticon_create() static. 2012-02-20 11:48:02 +01:00
Michael Stefaniuc 83693d9611 shell32: Avoid an unsafe IExtractIconW to object cast. 2012-01-27 18:05:58 +01:00
Michael Stefaniuc b12a950c84 shell32: COM cleanup for IPersistFile. 2012-01-27 18:05:57 +01:00
Michael Stefaniuc f4f9be6eb0 shell32: COM cleanup for IExtractIconA. 2012-01-27 18:05:57 +01:00
Michael Stefaniuc 725db4d19d shell32: Forward IExtractIconA::Release to IExtractIconW:Release. 2012-01-27 18:05:57 +01:00
Michael Stefaniuc 5718c0bc22 shell32: COM cleanup for IExtractIconW. 2012-01-27 18:05:56 +01:00
Michael Stefaniuc a14b7df847 shell32: Pass the object instead of the iface to an internal helper. 2012-01-27 18:05:56 +01:00
Nikolay Sivov a4dd8fb6a8 shell32: Use S_OK as successful return code name. 2012-01-09 15:34:15 +01:00
Michael Stefaniuc 6c54ad3dba shell32: Remove superfluous pointer casts. 2009-02-19 12:52:02 +01:00
Andrew Talbot 2cce0040a0 shell32: Assign to structs instead of using memcpy. 2008-03-18 11:15:26 +01:00
Andrew Talbot 0ad8ef0772 shell32: Exclude unused headers. 2007-05-21 12:31:23 +02:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02: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 b0b4777422 Implemented 'My Documents' folder. 2005-08-26 10:05:34 +00:00
Alexandre Julliard b1a9701bb5 Replace the _ICOM_THIS_From macros by inline functions the way it's
already done in shelllink.c.
2005-07-27 11:10:52 +00:00
Mike McCormack e28c014a84 -Wpointer-sign fixes. 2005-07-03 12:03:35 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Michael Jung 3c3495ea51 Add a new CLSID for UnixDosFolder, which is identical to UnixFolder,
but does unix <-> dos path conversion for GetDisplayNameOf and
ParseDisplayName.
2005-05-24 11:45:47 +00:00
Ge van Geldorp 40cb98269b Overlay icons for .lnk files with a small arrow in the lower left
corner.
2005-05-13 17:48:33 +00:00
Michael Jung 94e5f01275 Display a drive icon for the unix root directory. 2005-05-06 19:32:54 +00:00
Huw Davies be428abd3e Better icon handling for some special folders.
Identify and add defines for a bunch of shell icons.
2005-04-12 12:00:40 +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
Mike McCormack 17c3106896 Eliminate casts of the return value of HeapAlloc. 2005-03-21 11:25:13 +00:00
Mike McCormack 2c8367a3de Use lstrcmpiA in preference to strcasecmp. 2005-03-07 11:05:03 +00:00
James Hawkins ba92d2924a - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +00:00
Jon Griffiths f82272c92f Remove unneeded headers to reduce unneeded rebuilds. 2004-12-16 14:35:55 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Alexandre Julliard 72c9008e73 Authors: Klemens Friedl <frik85@hotmail.com>, Martin Fuchs <martin-fuchs@gmx.net>
- drive icon artwork
- display different drive icons depending on the drive type
2004-09-29 21:13:58 +00:00
Robert Shearman 8e80468170 Simplify getting custom icons for a folder by utilising the new
SHELL32_GetCustomFolderAttribute function.
2004-09-28 19:33:57 +00:00
Alexandre Julliard 314b99c48f Removed some more uses of the non-standard ICOM_THIS macro. 2004-09-09 20:17:07 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Juan Lang 77beaca78f If a folder contains a desktop.ini, check it for the icon location
before using the default folder icon.
2004-04-14 19:32:34 +00:00
Juan Lang 2843de3f25 Get rid of a few pointless A/W conversions. 2004-04-05 22:22:00 +00:00
Martin Fuchs d98c36c106 Get icons for shell link files. 2004-04-05 21:05:51 +00:00
Martin Fuchs dd46d6df9e Implementation of the control panel folder in shell namespace. 2004-03-27 01:42:22 +00:00
Mike McCormack 7b597d4c20 Unicode-ify the icon cache and SHGetFileInfo. 2004-03-22 20:43:07 +00:00
Martin Fuchs 0f3d8bf500 Use full paths instead of only filenames in icon cache to distinguish
between different files with the same name.
2004-01-21 22:15:09 +00:00
Mike McCormack fd16003316 Fix errors in IExtractIcon detected by valgrind. 2003-09-22 19:30:25 +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