Mike McCormack
e28c014a84
-Wpointer-sign fixes.
2005-07-03 12:03:35 +00:00
Mike McCormack
4d2d627c3f
- forward AddRef, Release, QueryInterface and GetClassID to internal
...
implementations
- implement GetClassID properly
2005-06-16 10:43:50 +00:00
Mike McCormack
0a44661d6f
Switch IShellLink to use shlwapi.SHCreateStreamOnFileW.
2005-06-16 09:46:05 +00:00
Mike McCormack
c62940a1ac
Remove some uses of wine/unicode.h functions.
2005-06-15 10:21:46 +00:00
Michael Jung
81b7509f3b
Use SHGetPathFromIDList instead of SHELL32_GetPathFromIDList.
2005-06-14 19:17:41 +00:00
Mike McCormack
215bd9a70b
Add the IContextMenu interface to the ShellLink object.
2005-06-14 11:38:55 +00:00
Mike McCormack
0569609e3d
Implement ShellLink's IShellExtInit::Initialize() method.
2005-06-13 19:04:17 +00:00
Mike McCormack
d4eb4f54ed
- add the IShellExtInit interface to the ShellLink object
...
- use inline functions rather than macros to resolve the
implementation pointer from an interface pointer
2005-06-13 11:50:09 +00:00
Mike McCormack
fa1b7822a5
Add the IShellLinkDataList interface to the ShellLink object.
2005-06-09 12:05:38 +00:00
Dmitry Timoshkov
eba47f1dfe
Make remaining OLE interface vtables const.
2005-06-06 19:50:35 +00:00
Mike McCormack
3e2cb75349
Remove some unused include files.
2005-05-13 13:59:15 +00:00
Mike McCormack
5960e7c93c
MSI advertised shortcuts don't require a product ID.
2005-04-22 19:06:12 +00:00
Peter Berg Larsen
6e3bcb5a54
Replace strncpy with memcpy or lstrcpyn.
2005-04-18 10:30:55 +00:00
Huw Davies
0e5b772cdc
Add a unicode pidl type.
...
Improve support for PT_YAGUID.
Improve IShellLink debugging.
2005-04-13 14:39:27 +00:00
Mike McCormack
a5cb5a2ab3
Use api definitions, remove duplicate code.
2005-03-27 17:54:48 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Jon Griffiths
dbf222f3aa
Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
2005-03-17 20:53:37 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +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
Dmitry Timoshkov
9074f257e0
Convert winemenubuilder to unicode.
2005-02-17 11:51:44 +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
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
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
Francois Gouget
486d020c1b
Don't define COBJMACROS in objbase.h.
...
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Francois Gouget
67aa858a31
Assorted spelling fixes.
2004-10-05 18:15:29 +00:00
Martin Fuchs
09878e1c6a
At least print message if we're not returning requested data.
2004-09-23 22:52:03 +00:00
Martin Fuchs
1c8d9b66c3
Store absolute path in .lnk file.
2004-09-22 19:11:27 +00:00
Martin Fuchs
fa417e2869
Implement IShellLinkA::Resolve and IShellLinkW::Resolve.
2004-09-22 04:00:56 +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
Aric Stewart
383de6efbc
Make sure exePath contains the path since it is used later in the
...
function as well.
2004-08-23 17:55:29 +00:00
Aric Stewart
4133ed17d9
In IPersistFile_Save if the exe file is not found, trust the path we
...
are given and allow creation of the link.
2004-08-20 19:28:33 +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
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +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
Alexandre Julliard
bb133bd596
Fixed a couple of header files ordering issues.
2004-04-07 03:59:41 +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
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
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
Mike McCormack
b0b467ab95
Update path from relative path on loading.
2004-03-22 21:12:39 +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
Alexandre Julliard
f9be2f3d21
Removed some unnecessary includes.
2003-11-17 20:31:29 +00:00
Dimitrie O. Paun
b0f4a564a1
Move useful information out of documentation/shell32.
2003-10-09 19:47:08 +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
Alexandre Julliard
d937dc2963
Implemented shtypes.idl and shobjidl.idl and removed a few more
...
wine/obj_* headers.
2003-09-04 19:43:39 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Mike McCormack
88090b47a6
Remove code that starts wineshelllink, instead create a windows
...
compatible shortcut (*.lnk) file. After creating that file, start a
link processor (winemenubuilder) on it, which reads it back then calls
wineshelllink.
Rework CreateStreamFromFile to create an IStream object that is
writeable.
2003-05-21 18:50:53 +00:00
Robert Lunnon
2eab8afaa9
Eliminate segfault due to NULL This->sIcoPath.
2003-05-06 18:36:54 +00:00