[WIN32K]
[reactos.git] / reactos / win32ss / user / ntuser / clipboard.c
index 9688166..60c355b 100644 (file)
@@ -225,6 +225,7 @@ IntSynthesizeBitmap(PWINSTATION_OBJECT pWinStaObj, PCLIP pBmEl)
                                     pConvertedBmi,
                                     DIB_RGB_COLORS,
                                     0,
                                     pConvertedBmi,
                                     DIB_RGB_COLORS,
                                     0,
+                                    pMemObj->cbData - Offset,
                                     0);
 
     if (hBm)
                                     0);
 
     if (hBm)