mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
Fix user32 build.
svn path=/branches/ros-amd64-bringup/; revision=45124
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user