Re: ole32: Do a QueryInterface for IOleLink in OleLoad, like native does.
31 Aug
2006
31 Aug
'06
11:36 a.m.
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(a)codeweavers.com
7042
Age (days ago)
7042
Last active (days ago)
0 comments
1 participants
participants (1)
-
Huw Davies