mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 23:28:15 +00:00
[USER32]
- Fix ole32:clipboard winetest regression svn path=/trunk/; revision=53657
This commit is contained in:
parent
65bfc47fd6
commit
da83700379
|
@ -206,6 +206,9 @@ GetClipboardData(UINT uFormat)
|
||||||
GETCLIPBDATA gcd;
|
GETCLIPBDATA gcd;
|
||||||
|
|
||||||
hData = NtUserGetClipboardData(uFormat, &gcd);
|
hData = NtUserGetClipboardData(uFormat, &gcd);
|
||||||
|
if (!hData)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
if (gcd.fGlobalHandle)
|
if (gcd.fGlobalHandle)
|
||||||
{
|
{
|
||||||
HANDLE hGlobal;
|
HANDLE hGlobal;
|
||||||
|
@ -242,7 +245,7 @@ GetClipboardData(UINT uFormat)
|
||||||
pNewData = IntSynthesizeWideChar(pData, cbData, gcd.uFmtRet == CF_OEMTEXT);
|
pNewData = IntSynthesizeWideChar(pData, cbData, gcd.uFmtRet == CF_OEMTEXT);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
FIXME("Format: %u\n", uFormat);
|
FIXME("Format: %u != %u\n", uFormat, gcd.uFmtRet);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Is it a global handle? */
|
/* Is it a global handle? */
|
||||||
|
|
Loading…
Reference in a new issue