Difference between revisions of "Techwiki:Win32k/BASEOBJECT"
(New page: For Windows XP and Windows 2003 struct _BASEOBJECT { HANDLE hHmgr; // Handle for this object ULONG ulShareCount; LONG cExclusiveLock; // lock with InterlockedIncrement or n...) |
|||
Line 1: | Line 1: | ||
− | + | The GDI Base Object, which is a header at the top of every GDI Object. | |
+ | The structure is called _BASEOBJECT and is defined as follows for | ||
+ | Windows XP and Windows 2003 : | ||
+ | |||
struct _BASEOBJECT | struct _BASEOBJECT | ||
{ | { | ||
Line 8: | Line 11: | ||
PW32THREAD Tid; // contain which thread it belong to, PsGetCurrentThread() | PW32THREAD Tid; // contain which thread it belong to, PsGetCurrentThread() | ||
}; | }; | ||
+ | |||
+ | The pointer to a _BASEOBJECT is known as a POBJ. |
Revision as of 14:17, 30 December 2007
The GDI Base Object, which is a header at the top of every GDI Object. The structure is called _BASEOBJECT and is defined as follows for Windows XP and Windows 2003 :
struct _BASEOBJECT { HANDLE hHmgr; // Handle for this object ULONG ulShareCount; LONG cExclusiveLock; // lock with InterlockedIncrement or not ULONG BaseFlags; PW32THREAD Tid; // contain which thread it belong to, PsGetCurrentThread() };
The pointer to a _BASEOBJECT is known as a POBJ.