Martin Fuchs
b8dc8abbc0
Correct IShellFolder::GetAttributesOf() for the case *rgfInOut=0.
2004-04-13 00:19:11 +00:00
Martin Fuchs
c01e515815
Check for folders in ShellExecute().
2004-04-13 00:18:45 +00:00
Martin Fuchs
6223fdc9f2
- rename 'wszCommandline' to 'wszParameters'
...
- separate out command line arguments from executable file name
2004-04-12 23:12:51 +00:00
Martin Fuchs
1ab301d7be
- eliminate MSVC type conversion warning
...
- IShellLink::GetIconLocation(): get icons for shell links if not
already set
2004-04-12 23:12:39 +00:00
Francois Gouget
0217bfdfed
Assorted spelling fixes.
2004-04-12 22:08:23 +00:00
Francois Gouget
e7427e13af
Cleanup the handling of the extension in SHELL_FindExecutable():
...
- Eliminate the corresponding fixed-size buffer which removes the
limitation to 3 character extensions.
- Fix handling of the trailing '.' case.
- Do a case-insensitive check for the extension in win.ini.
Increase the size of the command buffer to 1024.
2004-04-09 19:04:03 +00:00
Juan Lang
19b1a95ec1
- move CreateMyCompEnumList and CreateDesktopEnumList to their
...
respective files
- rewrite CreateFolderEnumList to only FindFirstFile/FindNextFile once
2004-04-08 19:50:17 +00:00
Juan Lang
c00fbafbbf
Move control panel applet enumeration to cpanelfolder.c.
2004-04-08 04:37:43 +00:00
Martin Fuchs
31cd6b8cf3
- SHBindToParent(): request correct COM interface from desktop.
...
- _ILCreateFromFindDataA(): type cast to eliminate MSVC compiler
warning.
2004-04-07 21:58:50 +00:00
Juan Lang
f3301c6ba9
- comment fixes
...
- improved error checking and conformance with Windows
- remove some spurious error messages
2004-04-07 19:45:48 +00:00
Alexandre Julliard
bb133bd596
Fixed a couple of header files ordering issues.
2004-04-07 03:59:41 +00:00
Martin Fuchs
df0a00edd8
Resolve shell shortcuts and process ID lists in ShellExecute()
...
functions.
2004-04-07 03:49:51 +00:00
Juan Lang
42f28a72e9
- rename PT_SPECIAL to PT_SHELLEXT
...
- remove unnecessarily complex _ILCreate
- combine _ILCreateValue and _ILCreateFolder, since their outputs
differed by only one byte.
2004-04-06 23:12:11 +00:00
Juan Lang
fe7c9e5f95
Rename PT_MYCOMP to PT_GUID, and the corresponding union member from
...
mycomp to guid.
2004-04-06 03:22:29 +00:00
Juan Lang
452ddeb3e2
Use symbolic constants for magic numbers in SHGetFolderPathW, avoid
...
doing MultiByteToWideChar on values that don't need it,
2004-04-05 23:13:20 +00:00
Juan Lang
2843de3f25
Get rid of a few pointless A/W conversions.
2004-04-05 22:22:00 +00:00
Martin Fuchs
7e301d8a77
Add resource strings for control panel folder.
2004-04-05 21:06:58 +00:00
Martin Fuchs
3abf44f10a
Optimization: null terminate string buffers instead of filling them
...
completely with 0.
2004-04-05 21:06:16 +00:00
Martin Fuchs
d98c36c106
Get icons for shell link files.
2004-04-05 21:05:51 +00:00
Martin Fuchs
b44f8253cf
- fix dirty flag on shelllink loading and saving
...
- update absolute path when changing relative path
2004-04-05 20:12:57 +00:00
Rolf Kalbermatter
dfe99d49c5
Use named constant instead of a simple number (gets rid of signed
...
warning too).
2004-04-01 21:00:23 +00:00
Kevin Koltzau
33a6215dc3
Added support for CSIDL_RESOURCES path.
2004-04-01 02:01:33 +00:00
Alexandre Julliard
85c2ccec76
Do not strip stdcall decoration in spec files.
...
Fixed mapi32 ordinals.
2004-03-31 00:59:36 +00:00
Martin Fuchs
02dd8c3601
Call IShellExecuteHook interface for ShellExecute() calls with ID
...
lists.
2004-03-27 20:41:20 +00:00
Martin Fuchs
dd46d6df9e
Implementation of the control panel folder in shell namespace.
2004-03-27 01:42:22 +00:00
Martin Fuchs
906be1dcb0
- Fix handling of %2, %3, ... and lower case format characters in
...
SHELL_ArgifyW().
- Move "%I" expansion from ShellExecuteEx() into common function
SHELL_ArgifyW().
- Pass buffer length to SHELL_FindExecutable().
- FIXME comment for len paramater in SHELL_ArgifyW().
Ge van Geldorp <ge@gse.nl>
- Add double quotation marks unless we already have them (e.g.: "%1"
%* for exefile).
- Remove unnecessary double quotation marks and command line arguments.
2004-03-26 02:29:12 +00:00
Martin Fuchs
df23d95476
Implementation of IPersistFile::IsDirty().
2004-03-25 23:36:45 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Francois Gouget
b948778660
Assorted spelling fixes.
2004-03-23 23:20:16 +00:00
Martin Fuchs
075d6a1238
Fix for recent shelllink patch, which removed the important part of
...
returning the result pointer from IShellLink_ConstructFromFile().
2004-03-22 22:58:37 +00:00
Robert Shearman
f6e1be6afe
Allow passing NULL to ILFindLastID.
2004-03-22 22:58:19 +00:00
Martin Fuchs
b9e542fd8e
Fix recent Unicode-ification patch.
2004-03-22 22:57:13 +00:00
Mike McCormack
b0b467ab95
Update path from relative path on loading.
2004-03-22 21:12:39 +00:00
Mike McCormack
7b597d4c20
Unicode-ify the icon cache and SHGetFileInfo.
2004-03-22 20:43:07 +00:00
Rein Klazes
d09edf800b
In SHELL_ExecuteW, if a new current directory is specified, change to
...
it before calling CreateProcess so that it will find the correct
executable.
2004-03-19 01:52:30 +00:00
Martin Fuchs
a06f76d6f9
Expand environment strings in command, parameter and directory strings
...
of ShellExecuteExW32().
2004-03-18 04:04:29 +00:00
Alexandre Julliard
22508e576f
FindFirstFile can return an empty short name if the long name is a
...
valid DOS name, fixed callers to handle that properly.
2004-03-17 01:50:27 +00:00
Martin Fuchs
7b48ddcbba
Enumerate all "shell\<verb>\command" entries in the registry instead
...
of searching only for "shell\open\command" entries.
2004-03-04 20:34:38 +00:00
Martin Fuchs
4a2731a781
Fix buffer length usage for RegQueryValueW() calls at various places.
2004-03-03 05:26:30 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Hans Leidekker
82f08b8a37
Export LC_ALL before calling sed.
2004-03-01 23:32:35 +00:00
Huw Davies
bc811a2489
Add a missing '\\'.
2004-03-01 23:11:53 +00:00
Martin Fuchs
46fceb19f3
Set error code ERROR_DDE_FAIL if the DDE connection failed in
...
ShellExecute().
2004-03-01 21:22:25 +00:00
Ove Kaaven
4f6a1d3475
Fixed icon leak.
2004-02-27 21:30:16 +00:00
Alexandre Julliard
0d203bd7ee
Sync some of the dll registrations with the contents of
...
winedefault.reg.
2004-02-27 06:08:32 +00:00
Kevin Koltzau
6eb4b2f694
Fill unused gap to fix lookups past CSIDL_CONNECTIONS.
2004-02-24 00:58:20 +00:00
Patrik Stridvall
ede82e3055
Fixed some issues found by winapi_check.
2004-02-20 20:19:23 +00:00
Alexandre Julliard
492ac292b9
Added support for building a dll from a .def file for cases where we
...
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Dmitry Timoshkov
9fd0183c27
Do not leave not initialized fields in the structure passed to
...
ShellExecuteExW32.
2004-02-12 20:04:23 +00:00
Dmitry Timoshkov
ccc57b323d
Translate the returned hInstApp from the unicode worker function.
2004-02-12 20:04:09 +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
fa828cd057
- move some PIDL function declarations from undocshell.h into public
...
header, as they are no longer undocumented
- implement context menu support for Winefile
2004-02-11 04:18:12 +00:00
Jon Griffiths
df24e106c5
Tests for StrRetToStrAW.
2004-02-10 02:19:03 +00:00
Jon Griffiths
52cde9b386
StrRetToStrN returns BOOL and shouldn't crash on NULL dest.
2004-02-10 02:18:50 +00:00
Huw Davies
89ef25e218
Use the BTNS_* toolbar button style defines rather than the outdated
...
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Mike McCormack
cb9a22b787
Fix the bounds checking in SHGetPathFromIDListA/W.
2004-02-09 20:56:41 +00:00
Ulrich Czekalla
c31d413c3c
Set the item mask before calling GetItem.
2004-02-03 00:09:57 +00:00
Ulrich Czekalla
d3b9ff2f8a
Make SHChangeNotifyRegister be recursive so that will get all
...
notifications.
2004-02-02 23:09:09 +00:00
Ulrich Czekalla
a91b2efc74
Fix SHChangeNotify to send correct lParam and wParam values.
2004-02-02 23:08:54 +00:00
Martin Fuchs
8091a89011
- remove unneccesary ISF_MyComputer_Constructor() declaration
...
- improve returned error code of ISF_MyComputer_fnParseDisplayName()
- remove wrong comment from ISF_MyComputer_fnGetDisplayNameOf()
2004-01-30 22:54:12 +00:00
Alexandre Julliard
20b4585e3c
Only link against libdxguid where necessary.
2004-01-27 00:11:16 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Francois Gouget
e18aa3f614
Add trailing '\n's to ok() calls.
2004-01-26 20:23:25 +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
703676f533
- define additional shell paths for CSIDL_... constants
...
- remove some superfluous commas
2004-01-26 20:09:10 +00:00
Ge van Geldorp
100e11309b
Fix various function prototypes to conform to PSDK.
2004-01-23 20:57:26 +00:00
Martin Fuchs
70d4604ac9
- ISF_Desktop_fnGetUIObjectOf(): allow context menu on the desktop
...
without any selected item; preserve return error codes.
- ISF_Desktop_fnGetDisplayNameOf(): don't initialize whole character
array with zero.
2004-01-23 20:46:09 +00:00
Martin Fuchs
0e35be6074
- IShellFolder_fnParseDisplayName(): return E_INVALIDARG instead of
...
E_OUTOFMEMORY.
- IShellFolder_fnGetUIObjectOf(): preserve return error codes.
- IShellFolder_fnGetDisplayNameOf(): don't initialize whole character
array with zero.
2004-01-23 20:45:41 +00:00
Martin Fuchs
fc69e4cf1b
Improved error handling.
...
SHELL32_GetItemAttributes(): support for SFGAO_LINK attribute.
2004-01-23 20:43:18 +00:00
Martin Fuchs
0c7f449343
ISF_MyComputer_fnGetDisplayNameOf(): return CLSID paths of virtual
...
folders rooted under "My Computer" folder, better error handling.
2004-01-23 04:25:26 +00:00
Martin Fuchs
2745769035
Return 'My Compuer' PIDL when calling Desktop->ParseDisplayName() with
...
empty path string.
2004-01-23 04:15:32 +00:00
Francois Gouget
7494b5b980
Add trailing '\n's to ok() calls.
...
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +00:00
Rolf Kalbermatter
7af8b13f11
Implement PathGetShortPathA/W and change its prototype to match the
...
documentation on MSDN.
2004-01-21 23:51:57 +00:00
Martin Fuchs
9d78f6783f
Only return valid file system names from RenderFILENAMEA/W() by using
...
SHELL_GetPathFromIDListA/W().
2004-01-21 23:50:46 +00:00
Alexandre Julliard
aa43d01627
Authors: Martin Fuchs <martin-fuchs@gmx.net>, Ge van Geldorp <ge@gse.nl>
...
Reimplementation of SHGetPathFromIDListA/W() using the new helper
functions SHELL_GetPathFromIDListA/W(). The new implementation avoids
using IShellFolder::GetDisplayNameOf(), so that it
- returns the absolute file system path, not relative to the dekstop
- returns FALSE as error code if the path can not converted in a valid
file system path
- doesn't return virtual CLSID paths
2004-01-21 23:50:26 +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
74bcd4e43f
Implemented SHGetRealIDL().
2004-01-21 22:12:55 +00:00
Martin Fuchs
423cb99ac5
- SHGetDataFromIDListA/W(): handle drives when retrieving file
...
attributes
- fixed error handling to avoid GPFs
2004-01-20 23:38:04 +00:00
Martin Fuchs
eae9444bc8
- fix typos in shelllink.c header comment and a struct comment
...
- corrected SCF_UNICODE constant and use the value of SCF_UNC instead
- implemented IShellLink_ConstructFromFile() to read shell links from
files
- call IShellLink_ConstructFromFile() in ISF_..._fnGetUIObjectOf()
when being queried for IShellLink interface
2004-01-20 01:37:24 +00:00
Martin Fuchs
c378ade958
- fix typo
...
- return string length from SHELL32_GUIDToStringA()
2004-01-20 01:26:39 +00:00
Martin Fuchs
236c8a2452
- move IShellFolder_fnGetDisplayNameOf() contents into a new function
...
SHELL_FS_ProcessDisplayFilename() to call it also in
ISF_Desktop_fnGetDisplayNameOf() and do the same file system
processing for the desktop level
- handle hidden file extensions in SHELL_FS_ProcessDisplayFilename(),
that are configured by "NeverShowExt" in the registry
2004-01-19 23:54:55 +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
87326ba7c3
IStream_fnWrite: only return write count if the given pointer
...
parameter is not NULL.
2004-01-18 23:17:13 +00:00
Martin Fuchs
6e775f898a
- declare PT_RAS_FOLDER for the "RAS Connections" folder
...
- handle PT_RAS_FOLDER and PT_NETPROVIDER in debugging functions and
_ILGetTextPointer() / _ILGetSTextPointer()
2004-01-18 22:08:46 +00:00
Martin Fuchs
b35c27626f
CreateStreamOnFile(): use flag FILE_SHARE_READ for opening OLE stream
...
files to enable file sharing.
2004-01-18 22:06:35 +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
Martin Fuchs
e6ab6bdcd7
Corrected definition of PathYetAnotherMakeUniqueName().
2004-01-16 23:04:41 +00:00
Francois Gouget
17112eaa4d
Assorted spelling fixes.
2004-01-16 21:26:08 +00:00
Filip Navara
c4dd56bc25
- Moved actual code from SHGetSpecialFolderPathA to SHGetFolderPathW,
...
adjusted and unicodified it.
- Rewrote SHGetFolderPathA to call SHGetFolderPathW.
- Rewrote SHGetSpecialFolderPath[AW] to call SHGetFolderPath[AW].
2004-01-16 04:46:36 +00:00
Filip Navara
23f26c8a1d
Complete Czech translation of shell32 resources.
2004-01-16 04:46:05 +00:00
Marcelo Duarte
003465415f
- Get rid of W->A calls for shlexec.
...
- Implementation of FindExecutableW.
2004-01-15 06:13:57 +00:00
Dmitry Timoshkov
2a2cd4db76
Fix an IE crash and make the "Create Folder" functionality in
...
Favorites work.
2004-01-09 00:35:21 +00:00
Alexandre Julliard
502f6c5634
Removed incorrect uses of DUMMYUNIONNAME.
2004-01-07 00:47:35 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Alexandre Julliard
72ecbb0675
SHCoCreateInstance is now documented (spotted by Francois Gouget).
...
Its first argument should be a Unicode string.
2004-01-06 20:42:47 +00:00
Hans Leidekker
195ec47f97
Make sure sed uses the right locale.
2004-01-06 20:40:10 +00:00
Martin Fuchs
c0a5a27c15
Correct return type of SHFileOperationA/W.
2004-01-05 21:13:37 +00:00
Steven Edwards
903d1f25ce
Update the notes on how WINE uses the Systray under KDE.
2004-01-02 20:12:51 +00:00
Martin Fuchs
963dd34ec0
- correct return value of SHGetPathFromIDList[AW]() for virtual
...
folders like "My Computer"
- correct path parsing in ISF_Desktop_fnParseDisplayName()
- handle CLSID paths in ISF_MyComputer_fnParseDisplayName()
- return CLSID path in ISF_MyComputer_fnGetDisplayNameOf()
2003-12-30 19:24:22 +00:00