mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 14:09:10 +00:00
[USER32_APITEST]
Fix amd64 build svn path=/trunk/; revision=53395
This commit is contained in:
parent
74b889b397
commit
c47522f9e8
|
@ -32,7 +32,7 @@ static LRESULT WINAPI redraw_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LP
|
|||
{
|
||||
PAINTSTRUCT ps;
|
||||
BeginPaint(hwnd, &ps);
|
||||
EndPaint(hwnd, &ps);
|
||||
EndPaint(hwnd, &ps);
|
||||
return 1;
|
||||
}
|
||||
/*
|
||||
|
@ -43,7 +43,7 @@ static LRESULT WINAPI redraw_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LP
|
|||
asm ("movl $0, %eax\n\t"
|
||||
"leave\n\t"
|
||||
"ret");
|
||||
#else
|
||||
#elif defined(_M_IX86)
|
||||
//#ifdef _MSC_VER
|
||||
__asm
|
||||
{
|
||||
|
@ -51,6 +51,8 @@ static LRESULT WINAPI redraw_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LP
|
|||
leave
|
||||
ret
|
||||
}
|
||||
#else
|
||||
trace("unimplemented\n");
|
||||
#endif
|
||||
}
|
||||
return DefWindowProc(hwnd, msg, wparam, lparam);
|
||||
|
@ -64,7 +66,7 @@ static void test_wndproc(void)
|
|||
cls.style = CS_DBLCLKS;
|
||||
cls.lpfnWndProc = (WNDPROC)redraw_window_procA;
|
||||
cls.cbClsExtra = 0;
|
||||
cls.cbWndExtra = 0;
|
||||
cls.cbWndExtra = 0;
|
||||
cls.hInstance = GetModuleHandleA(0);
|
||||
cls.hIcon = 0;
|
||||
cls.hCursor = LoadCursorA(0, IDC_ARROW);
|
||||
|
|
Loading…
Reference in a new issue