[ros-dev] [ros-diffs] [jimtabor] 41250: - Hax-implement NtGdiSetPixelFormat and add a support function UserGethWnd with some code cleanup.
James Tabor
jimtabor.rosdev at gmail.com
Fri Jun 5 15:55:16 CEST 2009
Hi,
After spending some time searching my lab. Back in early 2007, I had a
note stating when the handle was in use it pointed to SURFOBJ and not
stored at SURFOBJ. Based on the pictures this is true. Sorry for
forgeting what I had written down.
James
2009/6/3 Timo Kreuzer <timo.kreuzer at web.de>:
> James Tabor wrote:
>
> I updated the wiki about this. We Are doing it wrong if any of the
>
> three pointers point at the BASEOBJECT of the handle structure and not
> at "+0x10" SURFOBJ surfobj.....
> pdc->dclevel.pSurface;
> pdc->pSurfInfo;
> ppdev->pSurface;
> typedef struct _SURFACE
> { // Win XP
> BASEOBJECT BaseObject; // 0x000
> SURFOBJ surfobj; // 0x010 <---- above three pointers are set
> here!
> XDCOBJ * pdcoAA; // 0x044
> FLONG flags; // 0x048
> ......
> ......
>
More information about the Ros-dev
mailing list