Uncomment
these lines in subsys/win32k/objects/gdiobj.c:
/*{GDI_OBJECT_TYPE_DIRECTDRAW, sizeof(DD_DIRECTDRAW), DD_Cleanup},
{GDI_OBJECT_TYPE_DD_SURFACE, sizeof(DD_SURFACE), DDSURF_Cleanup},*/
If I do so, I get a lot of errors. I guess "win32k/ntddraw.h" has to be
included somewhere.
If I include "intddraw.h", where GDI_OBJECT_TYPE_DIRECTDRAW is defined,
I get a lot of errors. I think something in the header system has to be
changed.