"Tony Lambregts" tony_lambregts@telusplanet.net wrote:
so obviously dc->funcs->pStartDoc points to a function that expects DOCINFOA* as its second parameter but I am at a loss on what to do. I have tried to trace down where "DC_GetDCPtr( hdc )" gets this information but I just ended up confused. Please help!
You also need to convert GDI driver function StartDoc to unicode. See include/gdi.h,DC_FUNCTIONS for the GDI diver entry points definition.
AFAICS only wineps currently implements support for it. See dlls/wineps/escape.c,PSDRV_StartDoc, which apparently also requires unicodification.