ppdev->gdiinfo.ulLogPixelsY = 96;
/* Setup Palette */
- GDIOBJ_SetOwnership(ppdev->devinfo.hpalDefault, NULL);
ppdev->ppalSurf = PALETTE_ShareLockPalette(ppdev->devinfo.hpalDefault);
DPRINT("PDEVOBJ_bEnablePDEV - dhpdev = %p\n", ppdev->dhpdev);
if (ppdev->pSurface)
{
/* Increment reference count */
- GDIOBJ_IncrementShareCount(&ppdev->pSurface->BaseObject);
+ GDIOBJ_vReferenceObjectByPointer(&ppdev->pSurface->BaseObject);
}
else
{