mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
Fix user32 build.
svn path=/branches/ros-amd64-bringup/; revision=45124
This commit is contained in:
parent
2c0ce1ef8f
commit
682ff1ba02
|
@ -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;
|
||||
|
|
|
@ -2881,7 +2881,7 @@ BOOL
|
|||
NTAPI
|
||||
NtUserTranslateMessage(
|
||||
LPMSG lpMsg,
|
||||
HKL dwhkl );
|
||||
UINT flags );
|
||||
|
||||
BOOL
|
||||
NTAPI
|
||||
|
|
Loading…
Reference in a new issue