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
742120ba
Commit
742120ba
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 partial test for IMediaDet_get_StreamMediaType.
parent
b37ee801
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
mediadet.c
dlls/qedit/tests/mediadet.c
+9
-0
No files found.
dlls/qedit/tests/mediadet.c
View file @
742120ba
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
#define COBJMACROS
#define COBJMACROS
#include "ole2.h"
#include "uuids.h"
#include "wine/test.h"
#include "wine/test.h"
#include "qedit.h"
#include "qedit.h"
...
@@ -84,6 +86,7 @@ static void test_mediadet(void)
...
@@ -84,6 +86,7 @@ static void test_mediadet(void)
BSTR
filename
=
NULL
;
BSTR
filename
=
NULL
;
long
nstrms
=
0
;
long
nstrms
=
0
;
long
strm
;
long
strm
;
AM_MEDIA_TYPE
mt
;
hr
=
CoCreateInstance
(
&
CLSID_MediaDet
,
NULL
,
CLSCTX_INPROC_SERVER
,
hr
=
CoCreateInstance
(
&
CLSID_MediaDet
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IMediaDet
,
(
LPVOID
*
)
&
pM
);
&
IID_IMediaDet
,
(
LPVOID
*
)
&
pM
);
...
@@ -114,6 +117,12 @@ static void test_mediadet(void)
...
@@ -114,6 +117,12 @@ static void test_mediadet(void)
todo_wine
ok
(
hr
==
S_OK
,
"IMediaDet_get_CurrentStream
\n
"
);
todo_wine
ok
(
hr
==
S_OK
,
"IMediaDet_get_CurrentStream
\n
"
);
todo_wine
ok
(
strm
==
0
,
"IMediaDet_get_CurrentStream
\n
"
);
todo_wine
ok
(
strm
==
0
,
"IMediaDet_get_CurrentStream
\n
"
);
ZeroMemory
(
&
mt
,
sizeof
mt
);
hr
=
IMediaDet_get_StreamMediaType
(
pM
,
&
mt
);
todo_wine
ok
(
hr
==
S_OK
,
"IMediaDet_get_StreamMediaType
\n
"
);
todo_wine
ok
(
IsEqualGUID
(
&
mt
.
majortype
,
&
MEDIATYPE_Video
),
"IMediaDet_get_StreamMediaType
\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