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
ef4441a2
Commit
ef4441a2
authored
Apr 17, 2023
by
Giovanni Mascellani
Committed by
Alexandre Julliard
Apr 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat/tests: Test Lock2D() on a locked D3D9 surface buffer.
parent
5cae9680
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
mfplat.c
dlls/mfplat/tests/mfplat.c
+9
-0
No files found.
dlls/mfplat/tests/mfplat.c
View file @
ef4441a2
...
...
@@ -6623,6 +6623,15 @@ static void test_MFCreateDXSurfaceBuffer(void)
hr
=
IMF2DBuffer_Unlock2D
(
_2dbuffer
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_WAS_UNLOCKED
),
"Unexpected hr %#lx.
\n
"
,
hr
);
hr
=
IMFMediaBuffer_Lock
(
buffer
,
&
data
,
NULL
,
NULL
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#lx.
\n
"
,
hr
);
hr
=
IMF2DBuffer_Lock2D
(
_2dbuffer
,
&
data
,
&
pitch
);
ok
(
hr
==
MF_E_UNEXPECTED
,
"Unexpected hr %#lx.
\n
"
,
hr
);
hr
=
IMFMediaBuffer_Unlock
(
buffer
);
ok
(
hr
==
S_OK
||
broken
(
broken_test
),
"Unexpected hr %#lx.
\n
"
,
hr
);
hr
=
IMF2DBuffer_IsContiguousFormat
(
_2dbuffer
,
&
value
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#lx.
\n
"
,
hr
);
ok
(
!
value
,
"Unexpected return value %d.
\n
"
,
value
);
...
...
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