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
7340a357ba
Fix up PIDL dumping code.
2005-03-31 10:05:59 +00:00
Francois Gouget
6b10c324c5
Assorted spelling fixes.
2005-03-30 17:08:31 +00:00
Mike McCormack
a5cb5a2ab3
Use api definitions, remove duplicate code.
2005-03-27 17:54:48 +00:00
Paul Vriens
0b3b35116a
Print retval in decimal to avoid confusion.
...
NT4 fails with ERROR_INVALID_TARGET_HANDLE instead of
ERROR_REDIR_PAUSED.
Use some correct messages on error.
Extra tracing.
2005-03-25 20:47:50 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Jakob Eriksson
4fead33f30
If the device gets interrupted, we just give up.
2005-03-22 21:16:24 +00:00
Jakob Eriksson
b718b0b019
StrRetToStrNAW returns ok on NT4, though it should return FALSE.
2005-03-22 18:19:13 +00:00
Mike McCormack
17c3106896
Eliminate casts of the return value of HeapAlloc.
2005-03-21 11:25:13 +00:00
Mike McCormack
fd40ace3d3
Fix usage of STGM_ enumerations, remove forward declaration.
2005-03-19 17:09:14 +00:00
Mike McCormack
2597b1beca
Remove forward declarations of interface methods.
2005-03-19 17:09:03 +00:00
Mike McCormack
b7cc006c33
Remove an unused function.
2005-03-19 17:08:52 +00:00
Jon Griffiths
dbf222f3aa
Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
2005-03-17 20:53:37 +00:00
Aric Stewart
984931bd09
For ShellExecuteExA we need to copy out the hProcess value from the W
...
structure.
2005-03-17 20:50:53 +00:00
Mike McCormack
4098dc64ca
Remove some dead code and some ifdefs.
2005-03-17 18:55:49 +00:00
Mike McCormack
c9bd224f0f
Fix a regression in the file open dialog.
2005-03-17 18:55:16 +00:00
Mike McCormack
b12ce9b446
Convert path to unicode, rearrange to remove forward declaration.
2005-03-17 13:57:38 +00:00
Filip Navara
9f2bbd6566
_dbg_ILGetNext returns NULL if pidl->mkid.cb is zero, fix the loops
...
accordingly.
2005-03-16 19:51:13 +00:00
Juan Lang
2786964da2
Correct registering shell folders (values in Shell Folders key weren't
...
getting written).
2005-03-16 11:37:46 +00:00
Martin Fuchs
824353d01b
- switch to correct shell desktop context menu
...
- launch desk.cpl when activating the desktop context menu entry
"properties"
- don't send WM_COMMAND if we didn't get a shell view window
2005-03-14 10:49:03 +00:00
Michael Jung
015d2a4dbe
Beginning of a shell namespace extension to browse the unix
...
filesystem.
2005-03-09 16:41:17 +00:00
Dimitrie O. Paun
c02dd0a902
Add support for .exe's with exported functions.
2005-03-08 16:55:26 +00:00
Mike McCormack
2c8367a3de
Use lstrcmpiA in preference to strcasecmp.
2005-03-07 11:05:03 +00:00
Huw Davies
5be005b0d5
Don't prepend '\\' to the subkey name.
2005-03-03 13:52:06 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Juan Lang
316df99bf9
Convert more API calls to Unicode.
2005-03-02 10:16:41 +00:00
Michael Jung
6bc9999e08
Fixed parsing of ITEMIDLIST in InitializeTreeView.
...
Added some documentation.
Fixed a crash occuring when the user double-clicks a leaf item.
2005-03-01 11:45:32 +00:00
Juan Lang
88cf8ce5ac
Convert tabs to space, wrap long lines, make indenting consistent.
2005-03-01 10:41:14 +00:00
Juan Lang
b7dac96974
Convert a few calls to Unicode.
2005-02-26 17:41:26 +00:00
Mike McCormack
64c3208e10
- implement loading and saving of MSI advertised shortcut info
...
- make more test cases pass
- read and write the location block
- improve the binary compatibility of lnk files
2005-02-25 16:19:57 +00:00
Jon Griffiths
eb5bf7dd38
Documentation spelling fixes.
2005-02-25 14:07:56 +00:00
Mike McCormack
d68294f06f
Remove tabs and reformat.
2005-02-23 15:41:39 +00:00
Francois Gouget
d95630ebf3
Add the -noname flag to match the Platform SDK.
2005-02-23 15:41:14 +00:00
Mike McCormack
f8a4f6b59b
- handle IFileSystemBindData in ISF_Desktop_fnParseDisplayName
...
- more Unicode conversion
2005-02-23 12:45:12 +00:00
Francois Gouget
14de57089e
Don't hardcode ordinals if which are not hardcoded on Windows.
2005-02-23 12:44:43 +00:00
Mike McCormack
3b2019badb
Make lstr* functions inline inside Wine.
2005-02-22 15:50:13 +00:00
Mike McCormack
0d735ac9be
- handle IFileSystemBindData in IShellFolder::ParseDisplayName
...
- convert IShellFolder::ParseDisplayName to use Unicode
2005-02-22 15:47:21 +00:00
Mike McCormack
3d9ba61478
Cleanup, create unicode versions of _ILCreateFromPath,
...
_ILCreateGuidFromStr, and _ILCreateFromFindData.
2005-02-22 14:50:35 +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
59ce35aba8
Remove tabs and make formatting consistent.
2005-02-21 18:36:47 +00:00
Hans Leidekker
c6806cd204
Mark exports -noname when they are exported by ordinal only on
...
win98/2k.
2005-02-18 20:13:01 +00:00
Dmitry Timoshkov
9074f257e0
Convert winemenubuilder to unicode.
2005-02-17 11:51:44 +00:00
Joris Huizer
e889f71269
- renamed file_operation_delete and to shfileops_delete
...
- renamed file_operation_checkFlags to shfileops_check_flags
- added helper function shfileops_do_operation()
- added helper function shfileops_get_parent_attr()
- added helper function shfileops_get_parent_attr2()
- various cleanups in SHFileOperationW using these functions
2005-02-17 11:50:25 +00:00
Alex Villacís Lasso
18bfe6a095
Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
...
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Huw Davies
084e596a95
SetPath("") should return S_OK.
...
SetPath("nonexistent_path") should return S_FALSE.
2005-02-16 16:27:42 +00:00
Dmitry Timoshkov
39f960bdfa
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
...
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +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
Francois Gouget
208df0eb52
Test the interaction between IShellLink::SetIDList() and
...
IShellLink::SetPath().
Check what default values one gets on a fresh IShellLink object.
Add some more tests verifying nothing is lost in an IShellLink
save/load cycle. Merged the empty shelllink test with these.
2005-02-14 11:52:29 +00:00
Marcelo Duarte
574c0edabb
Update the resources for Portuguese.
2005-02-14 11:12:30 +00:00
Marcus Meissner
30ed10004b
Output some more informations.
...
Mark one global variable static.
2005-02-14 11:07:55 +00:00
Filip Navara
4d20d165ff
Don't crash if ShellFolder doesn't implement the IID_ISFHelper
...
interface.
2005-02-14 11:06:48 +00:00
Ge van Geldorp
a912c2a885
Error numbers >= 32 are to be expected.
2005-02-14 11:03:21 +00:00
Francois Gouget
4d801b66e6
Assorted spelling fixes.
2005-02-10 19:19:35 +00:00
Ge van Geldorp
9cc5e6cd03
- Fix quoting of .cpl filename.
...
- Use "cplopen" verb to execute .cpl files.
2005-02-09 13:25:13 +00:00
Francois Gouget
da8b3dd7f2
Assorted spelling fixes.
2005-01-26 21:09:04 +00:00
Mike McCormack
18fb9ace14
Implement GetAdvise and SetAdvise.
2005-01-21 10:16:11 +00:00
Henning Gerhardt
e34aac5038
A small spelling fix and a small update (thank to Andreas Mohr).
2005-01-17 19:32:58 +00:00
Henning Gerhardt
038c5cbcbf
Update German resources.
2005-01-17 13:43:16 +00:00
Joris Huizer
2d58a624dd
- add file_operation_delete
...
- add file_operation_checkFlags
- use these in SHFileOperationW replacing inline code
2005-01-14 16:51:14 +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
Klemens Friedl
a4d4652dd1
Update German language file.
2005-01-14 15:13:56 +00:00
Robert Shearman
3dad1f9043
Don't sort the children of My Computer in shell browse for folder
...
dialog.
2005-01-11 10:40:14 +00:00
Eric Pouech
cf1d00bb08
Removed excessive statement (break after return or goto, not useful
...
break, not needed vars...)
2005-01-09 16:42:53 +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
Jacek Caban
76d4edf1f0
Get rid of W->A call.
2005-01-03 14:39:08 +00:00
Rein Klazes
3714a39867
Correct cases where arguments of ok() calls depend on the order in
...
which they are evaluated.
2004-12-27 17:26:37 +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
Rein Klazes
71e322b29f
ShellExecuteEx, ExtractIconEx, SHFileOperation, SHGetFileInfo,
...
SHGetPathFromIDList spec entries always refer to the Ansi
version. Problem found by Paul Vriens.
2004-12-17 19:05:46 +00:00
Jon Griffiths
f82272c92f
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-16 14:35:55 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +00:00
Alexandre Julliard
ebe3c529b1
Janitorial: C booleans must not be compared against TRUE.
2004-12-09 14:07:59 +00:00
José Manuel Ferrer Ortiz
7a03fd6763
Added some Spanish translations.
2004-12-09 13:44:20 +00:00
Klemens Friedl
586930973d
More Windows-like About dialog.
2004-12-09 11:39:31 +00:00
Robert Shearman
cba8763c33
Remove unnecessary WNDPROC casts.
2004-12-06 11:51:29 +00:00
Stefan Leichter
9cc5c15795
Fix missing imports of the test program on NT4.
2004-12-06 11:45:13 +00:00
Juan Lang
d179f8be8c
Revert shell32 version to Win2K SP4 level.
2004-12-06 11:34:07 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Tom Wickline
5c38e1b561
Version resources cleanup.
2004-11-23 13:59:34 +00:00
Alexandre Julliard
405568801e
Removed a couple of no longer needed entries.
2004-11-19 18:28:05 +00:00
Robert Shearman
18988663c2
- Use more specific error codes than E_FAIL, where possible.
...
- Move vtable to end, give it the const modifier, and remove unneeded
function declarations.
2004-11-19 18:14:47 +00:00
Aric Stewart
990ea44e98
Implementation of PathCleanupSpec.
2004-11-04 04:54:08 +00:00
Fabrice Ménard
7ce764669e
Check the type of error returned by SHCreateDirectoryExW.
2004-11-02 05:22:39 +00:00
Rolf Kalbermatter
e50a27de04
Use SHCreateDirectoryEx function instead of doing explicit recursive
...
directory creation.
2004-10-28 20:58:51 +00:00
Rolf Kalbermatter
a2ebf8b356
Add test for SHCreateDirectoryEx function.
...
Fixed some typos.
2004-10-28 20:58:38 +00:00
Fabrice Ménard
8818ded2dc
Some French translations added.
2004-10-27 21:36:17 +00:00
Rolf Kalbermatter
87fb440e71
Fix bad memory allocation for unicode buffer.
2004-10-27 21:18:35 +00:00
Juan Lang
c639af64be
_SHExpandEnvironmentStrings should return input string if no % found
...
to expand, and should call ExpandEnvironmentStringsW if it doesn't
handle an environment variable directly. Based on a patch from Dan
Kegel.
2004-10-27 21:17:30 +00:00
Ge van Geldorp
b3f2c53155
Use only one .res file.
2004-10-27 00:47:53 +00:00
Juan Lang
217bd082c6
Update shell32's version to WinXP level.
2004-10-26 21:17:50 +00:00
Juan Lang
535679aec7
Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now
...
that they pass.
2004-10-26 00:17:31 +00:00
Juan Lang
4a6a898e2d
Avoid copying invalid data on error.
2004-10-25 21:53:18 +00:00
Sami Aario
c2dcecc362
Check the return value of the SHGetDesktopFolder call.
2004-10-25 21:45:36 +00:00
Francois Gouget
3bb5b093e8
Assorted spelling fixes.
2004-10-22 22:27:51 +00:00
Alexandre Julliard
2d2e2e1e55
Avoid copying invalid data on error.
2004-10-22 20:26:23 +00:00
Francois Gouget
a1779c1e33
Fix the function pointer declarations so MSVC likes them.
...
CSIDL_PROFILES is not defined in the Windows SDK.
snprintf and strcasecmp don't exist on Windows. Replace them with
wnsprintfA and lstrcmpiA respectively.
2004-10-22 20:25:46 +00:00
Mike McCormack
43149f490c
Add a test for creating empty shelllink files.
2004-10-22 19:52:33 +00:00
Rolf Kalbermatter
eb883577e4
- SHCreateDirectory should create intermediate directories if
...
necessary.
- Remove extra boolean parameter in SHNotifyMoveFile as it is not
used.
- Use in SHFileOperation the function SHNotifyCreateDirectory instead
of SHCreateDirectoryEx as it does not anymore what is needed here.
- Fix several unsigned/signed mismatch warnings.
2004-10-21 22:29:42 +00:00