Commit Graph

253 Commits

Author SHA1 Message Date
Nikolay Sivov 82a4b85424 shell32: Add SHCreateFileExtractIconW stub. 2010-03-15 14:18:06 +01:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Michael Stefaniuc 6f36945f2b shell32: Remove some superfluous LPARAM/WPARAM casts. 2009-12-28 12:27:15 +01:00
Alexandre Julliard 29c0ecfd1c shell32: Use the module instance instead of that of the owner window for the about dialog. 2009-12-21 11:20:04 +01:00
Vincent Povirk a8c2d4b5bc shell32: Fix an uninitialized memory access in SHGetFileInfoW.
If we are passed SHGFI_PIDL, szFullPath is not initialized. If we're passed
the flags PIDL, USEFILEATTRIBUTES, and an icon flag, we will try to use the
uninitialized filename to get the icon. Since the test claims that the
function should return an icon in this case, and we cannot always convert
a pidl to a path, we should just use the pidl.
2009-12-14 12:07:25 +01:00
Aric Stewart 42e54f9513 shell32: Stub ShellHookProc. 2009-09-25 14:35:38 +02:00
Vladimir Pankratov 8777994882 shell32: Handle NULL path. 2009-08-28 16:48:23 +02:00
Stefan Leichter a14256f621 shell32: Make the tests of the value returned from function SHGetFileInfoA more strick, fix wine to pass the tests. 2009-08-05 11:23:41 +02:00
Ken Sharp 6ed93bf824 shell32: Add stub for InitNetworkAddressControl. 2009-06-02 11:27:01 +02:00
Francois Gouget aad81e5cea shell32: Make AboutDlgProc() and SHELL_execute() static. 2009-05-15 10:31:43 +02:00
Stefan Leichter ac8c6a526f shell32: Stub for ExtractVersionResource16W. 2009-05-04 13:22:50 +02:00
Vitaliy Margolen 694219d4a6 shell32: Fix number of returned arguments from CommandLineToArgvW with empty string. 2009-03-23 15:25:50 +01:00
Aric Stewart cf164785af shell32: Do not automatically fail in SHGetFileInfo if the flag SHGFI_USEFILEATTRIBUTES is combined with SHGFI_ATTRIBUTES, SHGFI_EXETYPE, or SHGFI_PIDL. 2008-11-04 12:45:28 +01:00
Roy Shea 5b6806922a shell32: Use default system icons if PrivateExtractIconsW in SHGetFileInfoW fails. 2008-09-11 11:45:46 +02:00
Vincent Povirk 3cce9ad9c6 shell32: Move SHAppBarMessage implementation from shell32 to explorer. 2008-09-04 13:32:42 +02:00
Alexandre Julliard 12ae8ff814 shell32: Add a license message box and a build id to the About dialog. Clean things up a little. 2008-03-26 23:38:36 +01:00
Alexandre Julliard 0dbeea5275 shell32: Use the larger Wine logo icon in the About dialog. 2008-03-21 18:39:11 +01:00
Alexandre Julliard 77a79c48b4 shell32: Make the icon space a bit larger in the About dialog.
Also replace numeric ids by appropriate constants.
2008-03-21 18:38:51 +01:00
Huw Davies f372280928 shell32: Add a test for ABM_GETTASKBARPOS. 2008-03-05 19:26:13 +01:00
Huw Davies b24ec72f89 shell32: ABM_GETAUTOHIDEBAR should return a HWND or NULL. 2008-03-05 19:26:02 +01:00
Huw Davies c9c77ba7f7 shell32: Fix return type of SHAppBarMessage. 2008-03-05 19:25:41 +01:00
Rob Shearman 4510346b4f shell32: Memory allocated by CommandLineToArgvW should be that got from LocalAlloc/LocalReAlloc, not from GlobalAlloc.
Use LMEM_FIXED instead of 0 in calls to LocalAlloc to emphasise that 
we're getting a direct pointer, not a handle to memory.

Remove hargv as it is confusing and unnecessary.
2008-02-15 11:04:47 +01:00
Alexander Nicolaysen Sørnes 0f0678aa60 shell32: Use LocalFree in CommandLineToArgvW. 2008-02-07 11:59:53 +01:00
Andrew Talbot 2f25755674 shell32: Remove unneeded casts. 2008-01-21 11:39:04 +01:00
Marcus Meissner 08aa50ec2b shell32: GetModuleFileNameW gets number of WCHARs not bytes. 2007-11-26 14:02:50 +01:00
Evan Teran 6b3c0ecf2e shell32: Fix typo in GlobalAlloc parameters. 2007-10-18 13:22:07 +02:00
Vincent Povirk f4a4a1c054 shell32: Implement SHPathPrepareForWrite. 2007-09-14 16:20:14 +02:00
Andrew Talbot a77715c23b shell32: Exclude unused headers. 2007-05-21 12:31:29 +02:00
Aric Stewart dac19db358 shell32: SHGFI_EXETYPE flag should have the files returning 0 if they are DLL images. 2007-04-19 11:55:49 +02:00
Hans Leidekker f86ff01d9b shell32: Add a stub implementation for SHPathPrepareForWrite{A, W}. 2007-03-26 12:21:35 +02:00
Francois Gouget ab8d1e788a shell32: SHLoadNonloadedIconOverlayIdentifiers() is a WINAPI function.
This fixes a winapi_check warning.
2007-01-25 11:05:28 +01:00
Francois Gouget aa3165fca6 shell32: Add proper support for SHGetFileInfo(SHGFI_ICONLOCATION | SHGFI_USEFILEATTRIBUTES). 2007-01-19 12:28:57 +01:00
Francois Gouget d2daa384e9 shell32/tests: Hack SHGetFileInfo() so it does not crash and add a test for it. 2007-01-08 12:06:21 +01:00
Hans Leidekker 3558cdb8d5 shell32: Add a stub implementation for SHLoadNonloadedIconOverlayIdentifiers. 2006-12-11 17:05:38 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Aric Stewart 418d093325 shell32: ABM_NEW was using parameters that are not set. 2006-10-30 20:09:24 +01:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
James Hawkins 7b89ff88e8 janitorial: Remove redundant NULL checks before SHFree. 2006-10-07 17:52:59 +02:00
Andrew Talbot 27a06a5d75 shell32: Cast-qual warnings fix. 2006-09-29 14:59:55 +02:00
Alexandre Julliard 13574d919d Updated the AUTHORS list and converted it to utf-8. 2006-06-21 14:59:02 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman f689e3fca4 shell32: Move systray handling to the explorer process. 2006-02-22 16:33:33 +01:00
Vitaliy Margolen a5074584a8 shell32: Fix cut & paste error. 2006-01-14 17:06:03 +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
Martin Fuchs d3521da667 SHGetFileInfoW(): handle SHGFI_LINKOVERLAY and SHGFI_OVERLAYINDEX.
SHMapPIDLToSystemImageListIndex(): determine overlay flag for
PidlToSicIndex() and return -1 in error cases.
Read shell overlay icon settings from registry to allow icon
overrides.
2005-11-21 13:35:06 +00:00
Kevin Koltzau 95a173a52b Fix warnings in 64bit. 2005-09-02 11:32:17 +00:00
Michael Jung da953161fd Clone pidlLast before free'ing pidl after call to SHBindToParent. 2005-08-29 21:46:02 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Detlef Riekenberg a7a6927d9b Printers_RegisterWindowW / Printers_UnregisterWindow implemented as
stub.
Show the FIXME in Printer_LoadIconsW only when needed.
2005-07-11 18:02:20 +00:00
Detlef Riekenberg b6b4787e95 Printer_LoadIconsW: implemented minimal version. 2005-07-05 20:59:35 +00:00
Robert Shearman d5714dfc50 Implement ShellDDEInit. 2005-06-30 20:45:57 +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
Mike McCormack 1ae212a105 Split SHGetFileInfoW into two functions. 2005-05-12 09:56:48 +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
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Hans Leidekker 2294e30dd4 - Revert wrong -noname markup for Drag*, DoEnvironmentSubst and
SHGetNewLinkInfo{A,W}.
- Also mark stub exports -noname when they are exported by ordinal
  only on win98/2k.
- Implementation level stubs for SheChangeDirA, SheGetDirA,
  SHHelpShortcuts_RunDLL{A,W}.
- New spec file stubs for Control_RunDLLAsUserW,
  FixupOptionalComponents, OCInstall, SHChangeNotifySuspendResume,
  SHCreateProcessAsUserW, SHExtractIconsW,
  SHInvokePrinterCommand{A,W}, SHIsFileAvailableOffline,
  SHLoadNonloadedIconOverlayIdentifiers, SHPathPrepareForWrite{A,W},
  ShellExec_RunDLL{,A,W}, SHGetIconOverlayIndex{A,W}.
2005-02-21 18:37:33 +00:00
Mike McCormack af882e0e41 Reindent some code to improve readability. 2005-02-15 20:45:53 +00:00
Mike McCormack a830bf55ca Define some extra SHFGI values. 2005-02-15 15:43:54 +00:00
Jacek Caban 76d4edf1f0 Get rid of W->A call. 2005-01-03 14:39:08 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Alexandre Julliard 758b2887e9 Remove some no longer needed AW functions. 2004-12-17 19:20:07 +00:00
Klemens Friedl 586930973d More Windows-like About dialog. 2004-12-09 11:39:31 +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
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Robert Shearman c6516740af Share version information between DllGetVersion and resource file. 2004-09-22 04:00:43 +00:00
Juan Lang a78b4981ca Added support for DLLVERSIONINFO2 in DllGetVersion. 2004-09-14 17:44:40 +00:00
Jon Griffiths 5f2e8b7f46 Delete the about dialog font when the dialog is closed. 2004-08-09 22:56:58 +00:00
Ge van Geldorp c390bb2aea Match prototypes to Platform SDK. 2004-06-28 20:32:53 +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 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Juan Lang 38deeb4fd2 Add stub for ShellDDEInit to let Windows explorer.exe get past the
beginning.
2004-04-13 21:15:33 +00:00
Mike McCormack 7b597d4c20 Unicode-ify the icon cache and SHGetFileInfo. 2004-03-22 20:43:07 +00:00
Martin Fuchs 516b50f34c - don't link directly to NTDLL; use MultiByteToWideChar() instead of
RtlCreateUnicodeStringFromAsciiz()
- directly call InitCommonControlsEx()
2004-01-26 20:13:03 +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
Dimitrie O. Paun 3e54350dc2 {Global,Local}ReAlloc() does not allocate memory. 2003-11-26 05:04:15 +00:00
Alexandre Julliard 129f1e6910 Generate the authors list for the shell about dialog from AUTHORS at
compile time. Converted the about dialog to Unicode.
2003-11-18 19:50:24 +00:00
Filip Navara d8bd18e639 - Removed initialization of sh32_policy_table in SHInitRestricted,
because it's already statically initialized.
- Removed calling of SHInitRestricted(NULL, NULL) from DllMain because
  it does nothing in this case now.
- Added support for flags FWF_DESKTOP, FWF_NOCLIENTEDGE,
  FWF_TRANSPARENT in ShellView.
- Fixed small bug in setting SysTray window class hbrBackground.
2003-10-24 04:23:37 +00:00
Pavel Roskin b079de35ce Make it possible to close the "About Wine" dialog by pressing Escape. 2003-10-01 03:04:51 +00:00
Alexandre Julliard f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +00:00
Rolf Kalbermatter 9c74339c32 Signed/unsigned warnings and some formatting. 2003-09-15 22:13:40 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +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
Rein Klazes c2d287f682 Fixed a typo in the previous SHGetFileInfo() patch. 2003-07-08 21:07:49 +00:00
Stephan BEUZE fac288394a - Fixed iIndex use in SHGetFileInfoA (as of MSDN, iIndex is copied in
the iIcon field of psfi)
- Removed DLL_THREAD_ATTACH and DLL_THREAD_DETACH cases.
2003-07-03 18:11:01 +00:00
Jason Edmeades e5aabc6eeb SHGetFileInfo should tolerate null pointers. 2003-06-21 02:01:57 +00:00
Huw Davies 663dbc963f Pass correct pointer to CoCreateInstance in SHLoadInProc. 2003-05-13 22:19:01 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Vitaliy Margolen 34ef9824df - make SHGetFileInfo handle relative paths
- fix requests for large icons
2003-03-16 23:51:02 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Juergen Schmied 7cf87c521e Fixed crash in winamp reported by Andreas Mohr. 2003-01-10 01:46:15 +00:00
Rolf Kalbermatter caf31cee32 Added Unicode versions of the HCR_ internal functions. 2002-12-13 23:45:36 +00:00
Rolf Kalbermatter bc5d5d6b3b Fix shell32.ExtractIcon with A->W and 16 -> 32 calls. 2002-12-12 02:17:13 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alberto Massari d7e284781e - Fixed typo in SHGetFileInfoA.
- Properly convert return values back to Unicode in SHGetFileInfoW.
2002-11-01 01:45:37 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Carlos Lozano dc60324d9a Fixed SHGFI_SYSICONINDEX flag handling. 2002-10-30 23:39:32 +00:00
Carlos d529402734 The function SHGetFileInfoA wasn't supporting the flag
SHGFI_USEFILEATTRIBUTES.
2002-10-28 18:47:15 +00:00
Patrik Stridvall cf07e10017 Don't use wine/unicode.h in the header files, include it directly
where needed instead.
2002-10-23 20:20:59 +00:00