ole32: Add user marshalling for TYMED_GDI.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4c87040f2a
commit
d9c9791b50
|
@ -1722,9 +1722,7 @@ ULONG __RPC_USER STGMEDIUM_UserSize(ULONG *pFlags, ULONG StartingSize, STGMEDIUM
|
||||||
case TYMED_GDI:
|
case TYMED_GDI:
|
||||||
TRACE("TYMED_GDI\n");
|
TRACE("TYMED_GDI\n");
|
||||||
if (pStgMedium->u.hBitmap)
|
if (pStgMedium->u.hBitmap)
|
||||||
{
|
size = HBITMAP_UserSize(pFlags, size, &pStgMedium->u.hBitmap);
|
||||||
FIXME("not implemented for GDI object %p\n", pStgMedium->u.hBitmap);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case TYMED_MFPICT:
|
case TYMED_MFPICT:
|
||||||
TRACE("TYMED_MFPICT\n");
|
TRACE("TYMED_MFPICT\n");
|
||||||
|
@ -1834,9 +1832,7 @@ unsigned char * __RPC_USER STGMEDIUM_UserMarshal(ULONG *pFlags, unsigned char *p
|
||||||
case TYMED_GDI:
|
case TYMED_GDI:
|
||||||
TRACE("TYMED_GDI\n");
|
TRACE("TYMED_GDI\n");
|
||||||
if (pStgMedium->u.hBitmap)
|
if (pStgMedium->u.hBitmap)
|
||||||
{
|
pBuffer = HBITMAP_UserMarshal(pFlags, pBuffer, &pStgMedium->u.hBitmap);
|
||||||
FIXME("not implemented for GDI object %p\n", pStgMedium->u.hBitmap);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case TYMED_MFPICT:
|
case TYMED_MFPICT:
|
||||||
TRACE("TYMED_MFPICT\n");
|
TRACE("TYMED_MFPICT\n");
|
||||||
|
@ -1972,9 +1968,7 @@ unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *pFlags, unsigned char
|
||||||
case TYMED_GDI:
|
case TYMED_GDI:
|
||||||
TRACE("TYMED_GDI\n");
|
TRACE("TYMED_GDI\n");
|
||||||
if (content)
|
if (content)
|
||||||
{
|
pBuffer = HBITMAP_UserUnmarshal(pFlags, pBuffer, &pStgMedium->u.hBitmap);
|
||||||
FIXME("not implemented for GDI object\n");
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
pStgMedium->u.hBitmap = NULL;
|
pStgMedium->u.hBitmap = NULL;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue