Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d0b4717c
Commit
d0b4717c
authored
Aug 31, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Sep 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Do a QueryInterface for IOleLink in OleLoad, like native does.
parent
4ad8da53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
ole2.c
dlls/ole32/ole2.c
+19
-6
No files found.
dlls/ole32/ole2.c
View file @
d0b4717c
...
...
@@ -1007,12 +1007,13 @@ HRESULT WINAPI OleLoad(
}
}
/*
* Initialize the object with it's IPersistStorage interface.
*/
hres
=
IOleObject_QueryInterface
(
pUnk
,
&
IID_IPersistStorage
,
(
void
**
)
&
persistStorage
);
if
(
SUCCEEDED
(
hres
))
/*
* Initialize the object with it's IPersistStorage interface.
*/
hres
=
IOleObject_QueryInterface
(
pUnk
,
&
IID_IPersistStorage
,
(
void
**
)
&
persistStorage
);
if
(
SUCCEEDED
(
hres
))
{
...
...
@@ -1034,6 +1035,18 @@ HRESULT WINAPI OleLoad(
if
(
pOleObject
)
IOleObject_Release
(
pOleObject
);
if
(
SUCCEEDED
(
hres
))
{
IOleLink
*
pOleLink
;
HRESULT
hres1
;
hres1
=
IUnknown_QueryInterface
(
pUnk
,
&
IID_IOleLink
,
(
void
**
)
&
pOleLink
);
if
(
SUCCEEDED
(
hres1
))
{
FIXME
(
"handle OLE link
\n
"
);
IOleLink_Release
(
pOleLink
);
}
}
if
(
FAILED
(
hres
))
{
IUnknown_Release
(
pUnk
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment