- Create some stubs for some w32kdll api tests. Someone please verify and complete the job.

- Fix building all rostests for amd64. No guarantee anything works now, or ever did...

svn path=/branches/ros-amd64-bringup/; revision=44475
This commit is contained in:
Samuel Serapion 2009-12-09 01:14:28 +00:00
parent ca0ebabfdd
commit ad9860b254
22 changed files with 13389 additions and 71 deletions

View file

@ -186,8 +186,8 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam,
);
assert(hListBox != NULL);
SetWindowLong(
hListBox, GWL_ID, reinterpret_cast<LONG>(hListBox)
SetWindowLongPtr(
hListBox, GWL_ID, reinterpret_cast<LPARAM>(hListBox)
);
SNDMSG(hListBox, LB_ADDSTRING, 0,
@ -238,7 +238,7 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam,
reinterpret_cast<LPMEASUREITEMSTRUCT>(lParam);
assert(lpmis != NULL);
if (lpmis->CtlID == reinterpret_cast<UINT>(hListBox))
if (lpmis->CtlID == reinterpret_cast<UINT_PTR>(hListBox))
{
lpmis->itemHeight = 150;
return TRUE;
@ -251,7 +251,7 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam,
reinterpret_cast<LPDRAWITEMSTRUCT>(lParam);
assert(lpdis != NULL);
if (lpdis->CtlID == reinterpret_cast<UINT>(hListBox))
if (lpdis->CtlID == reinterpret_cast<UINT_PTR>(hListBox))
{
SaveDC(lpdis->hDC);
#if 0