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
b0b47ac5
Commit
b0b47ac5
authored
Apr 04, 2008
by
Dan Hipschman
Committed by
Alexandre Julliard
Apr 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit/tests: Add a test for IMediaDet_get_OutputStreams.
parent
999bc5bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mediadet.c
dlls/qedit/tests/mediadet.c
+5
-0
No files found.
dlls/qedit/tests/mediadet.c
View file @
b0b47ac5
...
@@ -82,6 +82,7 @@ static void test_mediadet(void)
...
@@ -82,6 +82,7 @@ static void test_mediadet(void)
HRESULT
hr
;
HRESULT
hr
;
IMediaDet
*
pM
=
NULL
;
IMediaDet
*
pM
=
NULL
;
BSTR
filename
=
NULL
;
BSTR
filename
=
NULL
;
long
nstrms
=
0
;
hr
=
CoCreateInstance
(
&
CLSID_MediaDet
,
NULL
,
CLSCTX_INPROC_SERVER
,
hr
=
CoCreateInstance
(
&
CLSID_MediaDet
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IMediaDet
,
(
LPVOID
*
)
&
pM
);
&
IID_IMediaDet
,
(
LPVOID
*
)
&
pM
);
...
@@ -93,6 +94,10 @@ static void test_mediadet(void)
...
@@ -93,6 +94,10 @@ static void test_mediadet(void)
todo_wine
ok
(
hr
==
S_OK
,
"IMediaDet_put_Filename -> %x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_OK
,
"IMediaDet_put_Filename -> %x
\n
"
,
hr
);
SysFreeString
(
filename
);
SysFreeString
(
filename
);
hr
=
IMediaDet_get_OutputStreams
(
pM
,
&
nstrms
);
todo_wine
ok
(
hr
==
S_OK
,
"IMediaDet_get_OutputStreams
\n
"
);
todo_wine
ok
(
nstrms
==
1
,
"IMediaDet_get_OutputStreams
\n
"
);
hr
=
IMediaDet_Release
(
pM
);
hr
=
IMediaDet_Release
(
pM
);
ok
(
hr
==
0
,
"IMediaDet_Release returned: %x
\n
"
,
hr
);
ok
(
hr
==
0
,
"IMediaDet_Release returned: %x
\n
"
,
hr
);
...
...
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