diff options
| author | Amlal <amlal@zka.com> | 2024-07-23 12:02:10 +0200 |
|---|---|---|
| committer | Amlal <amlal@zka.com> | 2024-07-23 12:02:10 +0200 |
| commit | 274cba18b8f1c255ddcff2f5c14aab4d0c846820 (patch) | |
| tree | aa56d2223c79d447b85a2bfefdbaab90b25fc8fe /Kernel/NewKit | |
| parent | 8eee31685e4334415870bb00b11b6b0d29821f10 (diff) | |
[IMP] User class and current user global.
[REMOVE] ApplicationInterface struct.
[IMP] DDK_STATUS_STRUCT data structure for driver events.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Kernel/NewKit')
| -rw-r--r-- | Kernel/NewKit/ApplicationInterface.hxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Kernel/NewKit/ApplicationInterface.hxx b/Kernel/NewKit/ApplicationInterface.hxx deleted file mode 100644 index 31da9aa3..00000000 --- a/Kernel/NewKit/ApplicationInterface.hxx +++ /dev/null @@ -1,31 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies - -------------------------------------------- */ - -#pragma once - -/// -/// @brief Application object, given by the OS to the process. interact with the OS. -/// @file ApplicationInterface.hxx -/// @author Amlal EL Mahrouss -/// - -#include <NewKit/Defines.hpp> -#include <CFKit/GUIDWrapper.hpp> - -/// \brief Application Interface. -/// \author Amlal El Mahrouss -typedef struct _ApplicationInterface final -{ - /// @brief Releases the object exit the process on main object. - Kernel::Void (*Release)(struct _Application* Self, Kernel::Int32 ExitCode); - /// @brief Invoke a function from the application object. - Kernel::IntPtr (*Invoke)(struct _Application* Self, Kernel::Int32 Sel, ...); - /// @brief Query a new application object from a GUID. - /// @note this doesn't query a process, it query a registered object withtin that app. - Kernel::Void (*Query)(struct _Application* Self, Kernel::VoidPtr* Dst, Kernel::SizeT SzDst, Kernel::XRN::GUIDSequence GuidOf); -} ApplicationInterface, *ApplicationInterfaceRef; - -#define app_cast reinterpret_cast<ApplicationInterfaceRef> |
