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
0dea7326
Commit
0dea7326
authored
Oct 06, 2009
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Oct 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sti: Allow CoCreateInstance aggregation and fix a broken test.
parent
50b8c47d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
sti_main.c
dlls/sti/sti_main.c
+0
-3
sti.c
dlls/sti/tests/sti.c
+3
-1
No files found.
dlls/sti/sti_main.c
View file @
0dea7326
...
...
@@ -97,9 +97,6 @@ static HRESULT WINAPI sti_cf_CreateInstance( IClassFactory *iface, LPUNKNOWN pOu
*
ppobj
=
NULL
;
if
(
pOuter
)
return
CLASS_E_NOAGGREGATION
;
r
=
This
->
pfnCreateInstance
(
riid
,
pOuter
,
(
LPVOID
*
)
&
punk
);
if
(
FAILED
(
r
))
return
r
;
...
...
dlls/sti/tests/sti.c
View file @
0dea7326
...
...
@@ -218,7 +218,9 @@ static void test_stillimage_aggregation(void)
if
(
SUCCEEDED
(
hr
))
IStillImage_Release
(
pStiW
);
hr
=
CoCreateInstance
(
&
CLSID_Sti
,
&
aggregator
,
CLSCTX_ALL
,
&
IID_IUnknown
,
(
void
**
)
&
pUnknown
);
ok
(
FAILED
(
hr
),
"CoCreateInstance unexpectedly succeeded when querying for IUnknown during aggregation
\n
"
);
ok
(
SUCCEEDED
(
hr
)
||
broken
(
hr
==
CLASS_E_NOAGGREGATION
),
/* Win 2000 */
"CoCreateInstance unexpectedly failed when querying for IUnknown during aggregation, hr = 0x%x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
IUnknown_Release
(
pUnknown
);
}
...
...
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