Author: mjansen Date: Mon Apr 17 15:48:56 2017 New Revision: 74352 URL: http://svn.reactos.org/svn/reactos?rev=74352&view=rev Log: [WIN32SS] Add extra logging to failed SURFACE_AllocSurface calls. CORE-13036
Modified: trunk/reactos/win32ss/gdi/eng/surface.c Modified: trunk/reactos/win32ss/gdi/eng/surface.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/surface.c?rev=74352&r1=74351&r2=74352&view=diff ============================================================================== --- trunk/reactos/win32ss/gdi/eng/surface.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/eng/surface.c [iso-8859-1] Mon Apr 17 15:48:56 2017 @@ -324,7 +324,8 @@ pvBits); if (!psurf) { - DPRINT1("SURFACE_AllocSurface failed.\n"); + DPRINT1("SURFACE_AllocSurface failed. (STYPE_BITMAP, sizl.cx=%ld, sizl.cy=%ld, iFormat=%lu, fl=%lu, lWidth=%ld, pvBits=0x%p)\n", + sizl.cx, sizl.cy, iFormat, fl, lWidth, pvBits); return NULL; } @@ -363,7 +364,8 @@ NULL); if (!psurf) { - DPRINT1("SURFACE_AllocSurface failed.\n"); + DPRINT1("SURFACE_AllocSurface failed. (STYPE_DEVBITMAP, sizl.cx=%ld, sizl.cy=%ld, iFormat=%lu)\n", + sizl.cx, sizl.cy, iFormat); return NULL; } @@ -402,7 +404,8 @@ NULL); if (!psurf) { - DPRINT1("SURFACE_AllocSurface failed.\n"); + DPRINT1("SURFACE_AllocSurface failed. (STYPE_DEVICE, sizl.cx=%ld, sizl.cy=%ld, iFormat=%lu)\n", + sizl.cx, sizl.cy, iFormat); return NULL; }