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
d02b27c0
Commit
d02b27c0
authored
Jan 09, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Move test for CoGetInterfaceAndReleaseStream to compobj.c.
parent
43d0d85f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
compobj.c
dlls/ole32/tests/compobj.c
+13
-0
marshal.c
dlls/ole32/tests/marshal.c
+0
-11
No files found.
dlls/ole32/tests/compobj.c
View file @
d02b27c0
...
...
@@ -455,6 +455,18 @@ static void test_CoGetPSClsid(void)
CoUninitialize
();
}
static
void
test_CoGetInterfaceAndReleaseStream
(
void
)
{
HRESULT
hr
;
IUnknown
*
pUnk
;
pCoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
hr
=
CoGetInterfaceAndReleaseStream
(
NULL
,
&
IID_IUnknown
,
(
void
**
)
&
pUnk
);
ok
(
hr
==
E_INVALIDARG
,
"hr %08x
\n
"
,
hr
);
CoUninitialize
();
}
START_TEST
(
compobj
)
{
...
...
@@ -474,4 +486,5 @@ START_TEST(compobj)
test_CoRegisterMessageFilter
();
test_CoRegisterPSClsid
();
test_CoGetPSClsid
();
test_CoGetInterfaceAndReleaseStream
();
}
dlls/ole32/tests/marshal.c
View file @
d02b27c0
...
...
@@ -2150,15 +2150,6 @@ static void test_globalinterfacetable(void)
CloseHandle
(
thread
);
}
static
void
test_CoGetInterfaceAndReleaseStream
(
void
)
{
HRESULT
hr
;
IUnknown
*
pUnk
;
hr
=
CoGetInterfaceAndReleaseStream
(
NULL
,
&
IID_IUnknown
,
(
void
**
)
&
pUnk
);
ok
(
hr
==
E_INVALIDARG
,
"hr %08x
\n
"
,
hr
);
}
static
const
char
*
debugstr_iid
(
REFIID
riid
)
{
static
char
name
[
256
];
...
...
@@ -2429,8 +2420,6 @@ START_TEST(marshal)
test_globalinterfacetable
();
test_CoGetInterfaceAndReleaseStream
();
/* must be last test as channel hooks can't be unregistered */
test_channel_hook
();
...
...
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