Commit Graph

35 Commits

Author SHA1 Message Date
Zebediah Figura 13e0671959 hlink: Directly check for S_OK from IHlinkBrowseContext_GetObject().
Fixes a regression introduced by 00aca1476e

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-29 20:29:00 +01:00
Zebediah Figura 00aca1476e hlink: Better handle the IBrowseContext parameter in IHlink::Navigate().
Query it for an IHlinkTarget object. Also, use ShellExecute() only if the
parameter is NULL.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:08:14 +01:00
Nikolay Sivov f6b1e1235c hlink: Properly return interface pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 18:50:11 +01:00
Piotr Caban e0b7aadb92 hlink: Return value returned by IHlinkTarget_Navigate in IHlink_fnNavigate. 2013-02-26 18:19:02 +01:00
Piotr Caban f8e0d2f5db hlink: Call BindToObject with IID_IUnknown in IHlink_fnNavigate. 2013-02-26 18:18:57 +01:00
Michael Stefaniuc 7c365e35ab hlink: Avoid a TRUE:FALSE conditional expression. 2012-08-14 11:59:30 +02:00
Francois Gouget fde4e8f92e hlink: Fix the spelling of the Hlink::SetAdditionalParams() implementation. 2012-05-14 12:06:15 +02:00
Andrew Eikum d1f6a5a376 hlink: Don't query the IHlinkSite if the IMoniker is a system moniker. 2012-02-06 10:19:31 -06:00
Andrew Eikum 8fa2b2d256 hlink: Always pass a bind context to IMoniker::GetDisplayName. 2012-02-06 10:19:30 -06:00
Jacek Caban 34db2d3926 hlink: Return S_FALSE in GetTargetFrameName when returning NULL. 2011-10-21 16:47:06 +02:00
Jacek Caban ccc66af6e3 hlink: Don't use WINAPI for internal functions. 2011-10-21 16:46:48 +02:00
Jacek Caban c43d445064 hlink: Reorder functions to avoid vtbl forward declaration. 2011-10-21 16:46:33 +02:00
Michael Stefaniuc 5101f249c8 hlink: Use ifaces instead of vtbl pointers in HlinkImpl. 2010-12-29 11:59:34 +01:00
Andrew Eikum a8e39c66f7 hlink: Site data should only be set if the hlink has an HlinkSite. 2010-11-02 11:15:08 +01:00
Andrew Eikum cb5eb33159 hlink: Implement HLINKGETREF flags handling. 2010-08-17 11:56:13 +02:00
Andrew Eikum a8183a6317 hlink: Set hlink's location to NULL if the empty string is given. 2010-03-17 10:58:56 +01:00
Andrew Eikum 57a47b0833 hlink: String target reference is actually moniker target's display name.
The original implementation treated the string target in IHlink as a
separate entity from the moniker target.  In reality, the string target 
is just the moniker target's display name and setting one reference also
sets the other.
2009-12-31 12:12:16 +01:00
Andrew Eikum fc4a9e2e69 hlink: Add tests and fix error handling in IHlink::{Get, Set}StringReference. 2009-12-23 14:27:30 +01:00
Andrew Eikum a4b5ccfc29 hlink: Use HLINKSETF flags in Hlink::fnSetMonikerReference. 2009-10-21 16:05:56 +02:00
Michael Stefaniuc b4d65f595e hlink: Remove superfluous pointer casts. 2009-01-27 14:26:46 +01:00
Alistair Leslie-Hughes 522b515b54 hlink: Mark Get/Set AdditionalParams as Unimplemented. 2008-09-11 12:38:36 +02:00
Andrew Talbot 3427b94384 hlink: Remove unneeded address-of operators from array names. 2008-07-11 13:58:59 +02:00
Andrew Talbot ad606f4d26 hlink: Assign to struct instead of using memcpy. 2008-02-29 12:35:37 +01:00
Michael Stefaniuc e3bd2d5090 hlink: Rename the wrappers around HeapAlloc() &Co to use the standard names. 2007-12-10 12:04:09 +01:00
Jacek Caban 593023663b hlink: Wrap heap functions. 2007-11-21 12:38:33 +01:00
Jacek Caban 59873a3748 hlink: Move common includes and function declarations to header file. 2007-11-21 12:37:38 +01:00
Rob Shearman 7b2e7cb81a hlink: Improve the loading of hlinks. 2007-05-24 11:35:51 +02:00
Rob Shearman 0f063c72b2 hlink: Improve the saving of hlinks by documenting the unknown header values and saving out more data.
Add tests for saving hlinks with different properties.
2007-05-24 11:35:41 +02:00
Michael Stefaniuc a77310fa13 hlink: Win64 printf format warning fixes. 2006-10-09 12:56:03 +02:00
Dmitry Timoshkov f740a28062 hlink: Avoid double computation of the string length. 2006-08-03 19:56:21 +02:00
Mike McCormack 9198d016f2 hlink: Use ShellExecute to start the link if we can't get a IHlinkTarget. 2006-08-01 18:34:21 +02:00
Mike McCormack af29c05a05 hlink: Use CoTaskMemAlloc when returning memory to a caller. 2006-08-01 10:52:30 +02:00
Mike McCormack dc3d475147 hlink: Create a strdupW function and use it. 2006-08-01 10:52:01 +02:00
Mike McCormack e4025c50c7 hlink: Only release an object that we successfully created. 2006-07-24 12:57:33 +02:00
Mike McCormack 58709d2263 hlink: Add a basic implementation (based on work by Aric Stewart). 2006-06-07 14:18:17 +02:00