Commit 60c19952 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winmm/tests: Fix the parameters of LPTIMECALLBACK functions.

parent 26bd2ec9
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment