KAutoObject: Difference between revisions
Jump to navigation
Jump to search
Created page with "TBD" |
mNo edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Kernel auto objects]] | |||
KAutoObject represents a reference counted object that destroys itself when there are no more references to it. | |||
Size : 0x8 bytes | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Type | |||
! Description | |||
|- | |||
| 0x0 | |||
| u32 | |||
| Pointer to vtable | |||
|- | |||
| 0x4 | |||
| u32 | |||
| Reference count | |||
|} | |||
=Class Definition= | |||
class KAutoObject {<br> | |||
public: | |||
u32 m_referenceCount; // 0x4<br> | |||
protected: | |||
virtual ~KAutoObject() { } | |||
}; |
Latest revision as of 02:56, 5 December 2016
KAutoObject represents a reference counted object that destroys itself when there are no more references to it.
Size : 0x8 bytes
Offset | Type | Description |
---|---|---|
0x0 | u32 | Pointer to vtable |
0x4 | u32 | Reference count |
Class Definition
class KAutoObject {
public: u32 m_referenceCount; // 0x4
protected: virtual ~KAutoObject() { } };