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
1234ae80
Commit
1234ae80
authored
Jul 03, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jul 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Use standard wine_dbgstr_longlong.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3548b251
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
filtergraph.c
dlls/quartz/tests/filtergraph.c
+5
-5
No files found.
dlls/quartz/tests/filtergraph.c
View file @
1234ae80
...
...
@@ -581,21 +581,21 @@ static void test_mediacontrol(void)
pos
=
0xdeadbeef
;
hr
=
IMediaSeeking_ConvertTimeFormat
(
seeking
,
&
pos
,
NULL
,
0x123456789a
,
NULL
);
ok
(
hr
==
S_OK
,
"ConvertTimeFormat failed: %08x
\n
"
,
hr
);
ok
(
pos
==
0x123456789a
,
"ConvertTimeFormat: expected 123456789a, got (%
x%08x)
\n
"
,
(
DWORD
)(
pos
>>
32
),
(
DWORD
)
pos
);
ok
(
pos
==
0x123456789a
,
"ConvertTimeFormat: expected 123456789a, got (%
s)
\n
"
,
wine_dbgstr_longlong
(
pos
)
);
pos
=
0xdeadbeef
;
hr
=
IMediaSeeking_ConvertTimeFormat
(
seeking
,
&
pos
,
&
TIME_FORMAT_MEDIA_TIME
,
0x123456789a
,
NULL
);
ok
(
hr
==
S_OK
,
"ConvertTimeFormat failed: %08x
\n
"
,
hr
);
ok
(
pos
==
0x123456789a
,
"ConvertTimeFormat: expected 123456789a, got (%
x%08x)
\n
"
,
(
DWORD
)(
pos
>>
32
),
(
DWORD
)
pos
);
ok
(
pos
==
0x123456789a
,
"ConvertTimeFormat: expected 123456789a, got (%
s)
\n
"
,
wine_dbgstr_longlong
(
pos
)
);
pos
=
0xdeadbeef
;
hr
=
IMediaSeeking_ConvertTimeFormat
(
seeking
,
&
pos
,
NULL
,
0x123456789a
,
&
TIME_FORMAT_MEDIA_TIME
);
ok
(
hr
==
S_OK
,
"ConvertTimeFormat failed: %08x
\n
"
,
hr
);
ok
(
pos
==
0x123456789a
,
"ConvertTimeFormat: expected 123456789a, got (%
x%08x)
\n
"
,
(
DWORD
)(
pos
>>
32
),
(
DWORD
)
pos
);
ok
(
pos
==
0x123456789a
,
"ConvertTimeFormat: expected 123456789a, got (%
s)
\n
"
,
wine_dbgstr_longlong
(
pos
)
);
hr
=
IMediaSeeking_GetCurrentPosition
(
seeking
,
&
pos
);
ok
(
hr
==
S_OK
,
"GetCurrentPosition failed: %08x
\n
"
,
hr
);
ok
(
pos
==
0
,
"Position != 0 (%
x%08x)
\n
"
,
(
DWORD
)(
pos
>>
32
),
(
DWORD
)
pos
);
ok
(
pos
==
0
,
"Position != 0 (%
s)
\n
"
,
wine_dbgstr_longlong
(
pos
)
);
hr
=
IMediaSeeking_SetPositions
(
seeking
,
NULL
,
AM_SEEKING_ReturnTime
,
NULL
,
AM_SEEKING_NoPositioning
);
ok
(
hr
==
S_OK
,
"SetPositions failed: %08x
\n
"
,
hr
);
...
...
@@ -606,7 +606,7 @@ static void test_mediacontrol(void)
pos
=
0xdeadbeef
;
hr
=
IMediaSeeking_GetCurrentPosition
(
seeking
,
&
pos
);
ok
(
hr
==
S_OK
,
"GetCurrentPosition failed: %08x
\n
"
,
hr
);
ok
(
pos
==
0
,
"Position != 0 (%
x%08x)
\n
"
,
(
DWORD
)(
pos
>>
32
),
(
DWORD
)
pos
);
ok
(
pos
==
0
,
"Position != 0 (%
s)
\n
"
,
wine_dbgstr_longlong
(
pos
)
);
hr
=
IMediaControl_GetState
(
control
,
1000
,
NULL
);
ok
(
hr
==
E_POINTER
,
"GetState expected %08x, got %08x
\n
"
,
E_POINTER
,
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