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
b6d8ea62
Commit
b6d8ea62
authored
Nov 08, 2018
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat/tests: Use correct interface macro.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a0d4401d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mfplat.c
dlls/mfplat/tests/mfplat.c
+5
-5
No files found.
dlls/mfplat/tests/mfplat.c
View file @
b6d8ea62
...
...
@@ -307,7 +307,7 @@ static void test_MFCreateMFByteStreamOnStream(void)
hr
=
pMFCreateMFByteStreamOnStream
(
stream
,
&
bytestream
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
I
Unknown
_QueryInterface
(
bytestream
,
&
IID_IUnknown
,
hr
=
I
MFByteStream
_QueryInterface
(
bytestream
,
&
IID_IUnknown
,
(
void
**
)
&
unknown
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
((
void
*
)
unknown
==
(
void
*
)
bytestream
,
"got %p
\n
"
,
unknown
);
...
...
@@ -321,7 +321,7 @@ static void test_MFCreateMFByteStreamOnStream(void)
ref
=
IMFByteStream_Release
(
bytestream2
);
ok
(
ref
==
1
,
"got %u
\n
"
,
ref
);
hr
=
I
Unknown
_QueryInterface
(
bytestream
,
&
IID_IMFAttributes
,
hr
=
I
MFByteStream
_QueryInterface
(
bytestream
,
&
IID_IMFAttributes
,
(
void
**
)
&
attributes
);
ok
(
hr
==
S_OK
||
/* w7pro64 */
...
...
@@ -337,14 +337,14 @@ static void test_MFCreateMFByteStreamOnStream(void)
ok
(
attributes
!=
NULL
,
"got NULL
\n
"
);
hr
=
I
Unknown
_QueryInterface
(
attributes
,
&
IID_IUnknown
,
hr
=
I
MFAttributes
_QueryInterface
(
attributes
,
&
IID_IUnknown
,
(
void
**
)
&
unknown
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
((
void
*
)
unknown
==
(
void
*
)
bytestream
,
"got %p
\n
"
,
unknown
);
ref
=
IUnknown_Release
(
unknown
);
ok
(
ref
==
2
,
"got %u
\n
"
,
ref
);
hr
=
I
Unknown
_QueryInterface
(
attributes
,
&
IID_IMFByteStream
,
hr
=
I
MFAttributes
_QueryInterface
(
attributes
,
&
IID_IMFByteStream
,
(
void
**
)
&
bytestream2
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
bytestream2
==
bytestream
,
"got %p
\n
"
,
bytestream2
);
...
...
@@ -375,7 +375,7 @@ static void test_MFCreateFile(void)
MF_FILEFLAGS_NONE
,
filename
,
&
bytestream
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
I
Unknown
_QueryInterface
(
bytestream
,
&
IID_IMFAttributes
,
hr
=
I
MFByteStream
_QueryInterface
(
bytestream
,
&
IID_IMFAttributes
,
(
void
**
)
&
attributes
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
attributes
!=
NULL
,
"got NULL
\n
"
);
...
...
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