mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[WIN32K] -NtGdiGetRegionData: prgn->rdh.nRgnSize is the size of kernel mode buffer for the region. After copying it to the caller we should set lpRgnData->rdh.nRgnSize to cjRects.
svn path=/trunk/; revision=74275
This commit is contained in:
@@ -4105,6 +4105,7 @@ NtGdiGetRegionData(
|
||||
RtlCopyMemory(lpRgnData, &prgn->rdh, sizeof(RGNDATAHEADER));
|
||||
RtlCopyMemory(lpRgnData->Buffer, prgn->Buffer, cjRects);
|
||||
lpRgnData->rdh.iType = RDH_RECTANGLES;
|
||||
lpRgnData->rdh.nRgnSize = cjRects;
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user