/* store data */
RtlZeroMemory(ppd, sizeof(EXTPATHDATA));
ppd->pd.flags = PD_BEGINSUBPATH;
- ppd->pd.count = cptfx;
size = cptfx * sizeof(POINTFIX);
pptfxNew = ExAllocatePoolWithTag(PagedPool, size, GDITAG_PATHOBJ);
}
RtlCopyMemory(pptfxNew, pptfx, size);
ppd->pd.pptfx = pptfxNew;
+ ppd->pd.count = cptfx;
/* set the subpath */
pPathObj->ppdLast = pPathObj->ppdFirst = ppd;
pptfxOld = ppdLast->pd.pptfx;
ppdLast->pd.pptfx = pptfxNew;
+ ppdLast->pd.count += cptfx;
ExFreePoolWithTag(pptfxOld, GDITAG_PATHOBJ);
}
/* store data */
RtlZeroMemory(ppd, sizeof(EXTPATHDATA));
ppd->pd.flags = PD_BEGINSUBPATH | PD_BEZIERS;
- ppd->pd.count = cptfx;
size = cptfx * sizeof(POINTFIX);
pptfxNew = ExAllocatePoolWithTag(PagedPool, size, GDITAG_PATHOBJ);
}
RtlCopyMemory(pptfxNew, pptfx, size);
ppd->pd.pptfx = pptfxNew;
+ ppd->pd.count = cptfx;
/* set the subpath */
pPathObj->ppdLast = pPathObj->ppdFirst = ppd;
pptfxOld = ppdLast->pd.pptfx;
ppdLast->pd.pptfx = pptfxNew;
+ ppdLast->pd.count += cptfx;
ExFreePoolWithTag(pptfxOld, GDITAG_PATHOBJ);
}