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
60c19952
Commit
60c19952
authored
Nov 12, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Fix the parameters of LPTIMECALLBACK functions.
parent
26bd2ec9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
timer.c
dlls/winmm/tests/timer.c
+4
-2
No files found.
dlls/winmm/tests/timer.c
View file @
60c19952
...
...
@@ -68,7 +68,8 @@ static void test_timeGetDevCaps(void)
static
DWORD
count
=
0
;
static
DWORD
times
[
NUM_SAMPLES
];
static
void
CALLBACK
testTimeProc
(
UINT
uID
,
UINT
uMsg
,
DWORD
dwUser
,
DWORD
dw1
,
DWORD
dw2
)
static
void
CALLBACK
testTimeProc
(
UINT
uID
,
UINT
uMsg
,
DWORD_PTR
dwUser
,
DWORD_PTR
dw1
,
DWORD_PTR
dw2
)
{
if
(
count
<
NUM_SAMPLES
)
times
[
count
++
]
=
timeGetTime
();
...
...
@@ -162,7 +163,8 @@ static const char * get_priority(int priority)
static
int
priority
=
0
;
static
BOOL
fired
=
FALSE
;
static
void
CALLBACK
priorityTimeProc
(
UINT
uID
,
UINT
uMsg
,
DWORD
dwUser
,
DWORD
dw1
,
DWORD
dw2
)
static
void
CALLBACK
priorityTimeProc
(
UINT
uID
,
UINT
uMsg
,
DWORD_PTR
dwUser
,
DWORD_PTR
dw1
,
DWORD_PTR
dw2
)
{
priority
=
GetThreadPriority
(
GetCurrentThread
());
ok
(
priority
!=
THREAD_PRIORITY_ERROR_RETURN
,
"GetThreadPriority() failed, GetLastError() = %08lx
\n
"
,
GetLastError
());
...
...
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