mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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:
parent
17ecb5786e
commit
e826abc369
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue