[ros-dev] About GDIOBJHDR header changes

Magnus Olsen magnus at greatlord.com
Sat Dec 29 19:53:53 CET 2007


Hi I been working on dxg.sys some time now and documented some behovir, 
I started blackbox how DxLock work. it is base on gdi how thing it work, using 
same GDIOBJHDR struct. I do not go into detail here we all known who dx is handle in win32k
in xp and higher. 


here is the public header of GDIOBJHDR 
typedef struct _GDIOBJHDR
{
    HGDIOBJ     hHmgr;      
    PVOID       unknownCount;  
    ULONG       cExcLock; 
    ULONG       Tid;   
}GDIOBJHDR, PGDIOBJHDR;

I want change it to

typedef struct _GDIOBJHDR
{
    HGDIOBJ     hHmgr; 
    WORD        Count;
    WORD        Type;
    ULONG       cExcLock; 
    ULONG       Tid;
}GDIOBJHDR, PGDIOBJHDR;

 hHmgr
Handle for this object.

Count
A counter of a kind

Type
which GDI Object type it is 

cExcLock
if the object is lock or not

Tid
The Thread it belong to

I hope we can do this change and I want comment and verify from Timo and Jim about this change




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20071229/5d853aa1/attachment.html 


More information about the Ros-dev mailing list