[ros-dev] [ros-diffs] [jimtabor] 41250: - Hax-implement NtGdiSetPixelFormat and add a support function UserGethWnd with some code cleanup.
Timo Kreuzer
timo.kreuzer at web.de
Wed Jun 3 23:15:46 CEST 2009
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
> ......
> ......
>
This is from XP:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20090603/20bf16d5/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot.jpg
Type: image/jpeg
Size: 228538 bytes
Desc: not available
Url : http://www.reactos.org/pipermail/ros-dev/attachments/20090603/20bf16d5/attachment-0002.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-1.jpg
Type: image/jpeg
Size: 198424 bytes
Desc: not available
Url : http://www.reactos.org/pipermail/ros-dev/attachments/20090603/20bf16d5/attachment-0003.jpg
More information about the Ros-dev
mailing list