Commit Graph

137 Commits

Author SHA1 Message Date
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
Hans Leidekker c1236fd120 Stub implementations for SHUpdateImageA, SHHandleUpdateImage,
SHObjectProperties, SHGetNewLinkInfo{A,W}, SHStartNetConnectionDialog,
SHEmptyRecycleBin{A,W}, SHFormatDrive, SHQueryRecycleBin{A,W}.
'HeapAlloc can fail' fix for ExtractIconExA.
Implement ExtractAssociatedIconA -> W.
Correct prototype for SHObjectProperties.
Forward SHGetNewLinkInfo to SHGetNewLinkInfoA.
2005-01-03 20:26:06 +00:00
Alexandre Julliard 758b2887e9 Remove some no longer needed AW functions. 2004-12-17 19:20:07 +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
Martin Fuchs 7ccc2d25a2 - Use system metrics to determine icon sizes.
- Move invalid index from 1 to 0.
2004-09-24 01:10:31 +00:00
Steven Edwards e85b67bd9e Remove some unneeded include statements. 2004-09-23 04:27:24 +00:00
Alexandre Julliard b0394dea42 Get rid of the WINE_UNUSED macro. 2004-09-01 17:36:04 +00:00
Jon Griffiths 42c8b413da Don't leak cache imagelists on exit. 2004-08-06 18:58:18 +00:00
Eric Pouech df93f2eeee GetModuleFileName[AW] doesn't terminate the string if the buffer is
too small.
2004-05-19 03:22:55 +00:00
Francois Gouget b948778660 Assorted spelling fixes. 2004-03-23 23:20:16 +00:00
Martin Fuchs b9e542fd8e Fix recent Unicode-ification patch. 2004-03-22 22:57:13 +00:00
Mike McCormack 7b597d4c20 Unicode-ify the icon cache and SHGetFileInfo. 2004-03-22 20:43:07 +00:00
Alexandre Julliard 487b9f5f00 Moved some more definitions out of undocshell.h into the exported
headers.
2004-02-11 06:21:45 +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
Martin Fuchs 9d1c9604b1 ShellView_CreateList(), SIC_Initialize(): enable transparent icons on
the desktop.
2004-01-18 23:17:32 +00:00
Martin Fuchs 499519d5d3 Added include of "wine/port.h" for MSVC. 2003-12-15 19:48:52 +00:00
Rolf Kalbermatter 81ce443f5e Fix two memory leaks. Found by Dietrich Teickner. 2003-11-28 23:10:19 +00:00
Alexandre Julliard f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +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
Martin Fuchs 63fecde98b Declare LPCITEMIDLIST as 'const' pointer and adjust shell32
implementation to the corrected type.
2003-09-02 01:01:06 +00:00
Alexandre Julliard 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Rolf Kalbermatter 58c04dafae Change the return value for ExtractIconEx from HICON to UINT and make
the function call directly user32.PrivateExtractIconEx.
2002-12-10 19:10:11 +00:00
Rolf Kalbermatter 418ca6d1b0 Add SHDefExtractIcon{AW} function. 2002-12-07 23:49:24 +00:00
Rolf Kalbermatter 25304d0a5e Fix ANSI->Unicode calling for ExtractIconExA/W. 2002-12-03 21:35:43 +00:00
Rolf Kalbermatter e2b06d2a10 Added stub implementation with correct prototypes for
ExtractAssociatedIconExA/W.
2002-11-30 02:22:24 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Alexandre Julliard 8aab09e5d8 Avoid calling FindExecutable16. 2002-10-10 23:29:21 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Alexandre Julliard fb2eca812d Import comctl32 functions from shell32 by ordinal.
Removed some unnecessary ordinals in comctl32.spec.
2002-07-29 00:24:58 +00:00
Steven Edwards eec6585a27 Moved a few win32 functions to a better location for building a Win32
only dll.
2002-06-21 20:08:50 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Uwe Bonnes b14f63847b SIC_GetIconIndex: start DPA_Search from index 0. 2002-04-11 21:47:53 +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
Andreas Mohr 2295e87be8 Fixed some more missing parenthesis issues. 2002-02-02 18:06:03 +00:00
Guy Albertelli aafec98803 - Define rest of URL_ESCAPE... and other flags.
- Define implemented interfaces for reg.c and url.c.
2001-11-06 22:31:19 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
Francois Gouget 996028be15 Rename SIC_CompareEntrys to SIC_CompareEntries, and make it static. 2001-11-06 00:45:32 +00:00
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Eric Pouech 92b23186ae A first stab at implementing the RunDll features. 2001-02-23 01:12:26 +00:00
Alexandre Julliard 556d8b5ecb Replaced some GetProcAddress() imports by the standard dll import
mechanism.
2001-01-17 22:05:24 +00:00
Alexandre Julliard ee8722d054 Implement InternalExtractIcon by calling PrivateExtractIcons instead
of duplicating all the code.
2000-10-24 21:34:40 +00:00
Alexandre Julliard cc7abe1f06 Call PrivateExtractIcon in user32 instead of duplicating the code. 2000-10-19 20:28:12 +00:00
Alexandre Julliard d586dc99be Replaced VERSION_* calls by exported API equivalents. 2000-08-14 14:35:01 +00:00
Alexandre Julliard b08cb175de Added guiddef.h and moved a few GUID definitions to the correct file. 2000-08-03 04:19:24 +00:00
Juergen Schmied 12aae27ae6 Fixed: extract the icon by resource id. 2000-04-28 20:18:15 +00:00
Alexandre Julliard 180a088beb Moved PE header definitions to winnt.h where they belong. 2000-04-18 11:58:24 +00:00
Alexandre Julliard 227a0894d4 Removed a number of global handle allocations and critical section
initializations.
2000-04-08 21:06:06 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Niels Kristian Bech Jensen 4eb4380360 Removed superfluous #include statements for header files included twice. 2000-02-29 22:06:06 +00:00
Juergen Schmied d52e04781b Fix for OpenIcon. 2000-02-26 18:47:23 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Marcus Meissner 8b466e0ce8 nIconIndex == -1 should return nr of available icons, not 0. 2000-01-29 20:59:31 +00:00
Juergen Schmied afe53ed99d - made IShellFolder a aggregable object
- SHCoCreateInstance can create CSIDL_FSFolder now
- browsing into folders on the desktop implemented
- corrected returnvalue of Ico_ExtractIconEx
- fixed SHGetDataFromIDList to return data of simple pidls
1999-11-23 22:31:18 +00:00
Juergen Schmied 050435840b Protect cache with critical section.
Removed hack to load icons from external shell32.dll.
1999-08-15 14:26:30 +00:00
Juergen Schmied b61d1ac496 Fixed icon background (was black). 1999-07-25 12:21:24 +00:00
Juergen Schmied cb78219500 Fixed crash during second DLL_PROCESS_DETACH if the dll
refcount reached zero after the second one (memory freed twice).
1999-07-10 11:50:54 +00:00
Alexandre Julliard a099a555c3 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-12 15:45:58 +00:00
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Juergen Schmied 28613d3d0e Moved stuff to the right place. 1999-04-22 10:11:04 +00:00
Juergen Schmied 3ea18db36d - more checks for valid pidl formats 1999-04-22 09:20:01 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Marcus Meissner ef66ee6b01 Typo that broke Solaris compile fixed. 1999-04-15 15:21:06 +00:00
Juergen Schmied d00653237b - reorganised icon extracing from files
- made extracting from ne and ico files working
- IPersistFile interface for IExtractIcon
1999-04-11 11:50:41 +00:00
Juergen Schmied 0ae30d3027 - adjusted printing of refcounts to be equal
- cleaning up icon cache on PROCESS_DETACH
- fixed ascii/unicode use in SH/ILCreateFromPath
- fixed small memory leak in shellview
1999-03-28 12:35:24 +00:00
Marcus Meissner 6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
Juergen Schmied dd153f1727 - mostly cleanup after the renaming
- implemented SHILCreateFromPath
- small changed to SHGetFileInfo
1999-03-13 17:10:36 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Juergen Schmied 6349d97bd4 - eliminated one element of the pidl struct (dwSFGAO)
- changed some superflous FIXME
1999-02-22 09:57:12 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Juergen Schmied cb23d48715 Small fixes. 1999-01-26 10:37:57 +00:00
Juergen Schmied ba28ba171f - some fixes, cleaned up includes, fixed leaks
- clean DllReferenceCount, better DllMain()
- dynamically linking LookupIconIdFromDirectoryEx32 and
  CreateIconFromResourceEx32 to USER32
- moved guid's instances to new file shellguid.c
- implemented  ShellExecuteEx32W
1999-01-23 14:12:48 +00:00
Marcus Meissner 628e3e0f01 Implemented ExtractIconEx16, added some consts to ExtractIconEx*. 1999-01-23 11:56:39 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Juergen Schmied 746d129cdb Shell_GetCachedImageIndex32[A|W] implemented. 1999-01-03 12:33:08 +00:00
Alexandre Julliard 55de5585e6 Use proper system directory. 1999-01-01 19:50:03 +00:00
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00
Juergen Schmied df3c5cfdd4 Fixes crash when running without external shell32.dll. 1998-12-24 14:33:29 +00:00
Juergen Schmied dd2e59c913 Small fixes. 1998-12-18 14:52:08 +00:00
Juergen Schmied 4e4608e3dd SHMapPIDLToSystemImageListIndex try's to determine and load the exact
icon for files (by type) now.
1998-12-14 17:37:38 +00:00
Juergen Schmied 47a800432a Many fixes. 1998-11-22 18:29:50 +00:00
Juergen Schmied 255bf17191 New file, some helper functions for icon cache.
Implemented ExtractIconEx; moved SHMapPIDLToSystemImageListIndex,
Shell_GetImageList in this file.
1998-11-15 13:25:18 +00:00