Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3cf1e46d
Commit
3cf1e46d
authored
Aug 02, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Clean up OleRun.
parent
9dd276bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
moniker.c
dlls/ole32/moniker.c
+9
-7
No files found.
dlls/ole32/moniker.c
View file @
3cf1e46d
...
@@ -669,15 +669,17 @@ GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot)
...
@@ -669,15 +669,17 @@ GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot)
HRESULT
WINAPI
OleRun
(
LPUNKNOWN
pUnknown
)
HRESULT
WINAPI
OleRun
(
LPUNKNOWN
pUnknown
)
{
{
IRunnableObject
*
runable
;
IRunnableObject
*
runable
;
IRunnableObject
*
This
=
(
IRunnableObject
*
)
pUnknown
;
HRESULT
hres
;
LRESULT
ret
;
ret
=
IRunnableObject_QueryInterface
(
This
,
&
IID_IRunnableObject
,(
LPVOID
*
)
&
runable
);
TRACE
(
"(%p)
\n
"
,
pUnknown
);
if
(
ret
)
return
0
;
/* Appears to return no error. */
hres
=
IUnknown_QueryInterface
(
pUnknown
,
&
IID_IRunnableObject
,
(
void
**
)
&
runable
);
ret
=
IRunnableObject_Run
(
runable
,
NULL
);
if
(
FAILED
(
hres
))
return
S_OK
;
/* Appears to return no error. */
hres
=
IRunnableObject_Run
(
runable
,
NULL
);
IRunnableObject_Release
(
runable
);
IRunnableObject_Release
(
runable
);
return
ret
;
return
hres
;
}
}
/******************************************************************************
/******************************************************************************
...
...
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