mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[WIN32SS] Add extra logging to failed SURFACE_AllocSurface calls. CORE-13036
svn path=/trunk/; revision=74352
This commit is contained in:
parent
8c0a8b2873
commit
7a5cfecf02
|
@ -324,7 +324,8 @@ EngCreateBitmap(
|
|||
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 @@ EngCreateDeviceBitmap(
|
|||
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 @@ EngCreateDeviceSurface(
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue