Fix user32 build.

svn path=/branches/ros-amd64-bringup/; revision=45124
This commit is contained in:
Samuel Serapion 2010-01-17 21:38:25 +00:00
parent 2c0ce1ef8f
commit 682ff1ba02
2 changed files with 4 additions and 4 deletions

View file

@ -59,21 +59,21 @@ GetClipboardData(UINT uFormat)
/* dealing with bitmap object */
if (uFormat != CF_BITMAP)
{
size = NtUserGetClipboardData(uFormat, NULL);
size = (DWORD_PTR)NtUserGetClipboardData(uFormat, NULL);
if (size)
{
hGlobal = GlobalAlloc(GMEM_DDESHARE | GMEM_MOVEABLE, size);
pGlobal = GlobalLock(hGlobal);
size = NtUserGetClipboardData(uFormat, pGlobal);
size = (DWORD_PTR)NtUserGetClipboardData(uFormat, pGlobal);
GlobalUnlock(hGlobal);
}
}
else
{
hGlobal = (HANDLE)NtUserGetClipboardData(CF_BITMAP, NULL);
hGlobal = NtUserGetClipboardData(CF_BITMAP, NULL);
}
return hGlobal;

View file

@ -2881,7 +2881,7 @@ BOOL
NTAPI
NtUserTranslateMessage(
LPMSG lpMsg,
HKL dwhkl );
UINT flags );
BOOL
NTAPI