diff options
Diffstat (limited to 'Private/ObjectKit')
| -rw-r--r-- | Private/ObjectKit/Object.hxx | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Private/ObjectKit/Object.hxx b/Private/ObjectKit/Object.hxx index 1cb9e084..af228163 100644 --- a/Private/ObjectKit/Object.hxx +++ b/Private/ObjectKit/Object.hxx @@ -7,13 +7,21 @@ #pragma once #include <NewKit/Defines.hpp> +#include <CFKit/GUIDWrapper.hpp> + +#define kObjectGlobalNamespaceSystem "HCORE_ROOT\\" +#define kObjectGlobalNamespaceUser "HCORE_USER_ROOT\\" namespace HCore { -/// \brief Object Manager handle. -typedef struct Object { - Void(*Release)(Void); - Void(*Invoke)(Void); - Void(*QueryInterface)(Void); +/// \brief Object handle. +typedef struct Object final { + WideChar ObjectName[255]; + Int32 ObjectType; + WideChar ObjectNamespace[255]; + + Void(*Release)(struct Object* Self); + Void(*Invoke)(struct Object* Self, Int32 Sel, ...); + Void(*QueryInterface)(VoidPtr* Dst, SizeT SzDst, XRN::GUIDSequence GuidOf); } Ojbect, *ObjectPtr; } // namespace HCore |
