[WIN32K][GDI32] Add debugbreaks

This commit is contained in:
Timo Kreuzer 2018-02-25 10:55:38 +01:00
parent c18b584a84
commit c5e7af9ff8
2 changed files with 3 additions and 1 deletions

View file

@ -435,6 +435,7 @@ GdiFlushUserBatch(PDC dc, PGDIBATCHHDR pHdr)
case GdiBCSelObj:
{
PGDIBSOBJECT pgO;
__debugbreak();
if (!dc) break;
pgO = (PGDIBSOBJECT) pHdr;

View file

@ -261,7 +261,7 @@ IntValidateWindowStationHandle(
BOOL FASTCALL
co_IntInitializeDesktopGraphics(VOID)
{
//TEXTMETRICW tmw;
TEXTMETRICW tmw;
UNICODE_STRING DriverName = RTL_CONSTANT_STRING(L"DISPLAY");
PDESKTOP pdesk;
@ -312,6 +312,7 @@ co_IntInitializeDesktopGraphics(VOID)
}
// Font is realized and this dc was previously set to internal DC_ATTR.
ERR("HACK HACK HACK HACK HACK HACK HACK HACK HACK \n");
__debugbreak();
#if 0
gpsi->cxSysFontChar = IntGetCharDimensions(hSystemBM, &tmw, (DWORD*)&gpsi->cySysFontChar);
gpsi->tmSysFont = tmw;