ole32: Do a QueryInterface for IOleLink in OleLoad, like native does.

Huw Davies huw at codeweavers.com
Thu Aug 31 11:36:13 CDT 2006


On Thu, Aug 31, 2006 at 05:18:36PM +0100, Robert Shearman wrote:
> ---
>  dlls/ole32/ole2.c |   25 +++++++++++++++++++------
>  1 files changed, 19 insertions(+), 6 deletions(-)

> diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
> index 8f0629c..c6df7ed 100644
> --- a/dlls/ole32/ole2.c
> +++ b/dlls/ole32/ole2.c
> @@ -1007,12 +1007,13 @@ HRESULT WINAPI OleLoad(
> +  if (SUCCEEDED(hres))
> +    /*
> +     * Initialize the object with it's IPersistStorage interface.
> +     */
> +    hres = IOleObject_QueryInterface(pUnk,
> +				     &IID_IPersistStorage,
> +				     (void**)&persistStorage);

s/it's/its/ ;-)

Huw.
-- 
Huw Davies
huw at codeweavers.com



More information about the wine-devel mailing list