From 80b76666074aa94f165e3db7b3dda2145ca6efc0 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 21 Mar 2024 22:39:57 +0100 Subject: unstable, kernel+api: important breaking changes. Signed-off-by: Amlal El Mahrouss --- Public/Kits/System.Core/Sources/DllMain.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Public/Kits/System.Core/Sources/DllMain.cxx (limited to 'Public/Kits/System.Core/Sources/DllMain.cxx') diff --git a/Public/Kits/System.Core/Sources/DllMain.cxx b/Public/Kits/System.Core/Sources/DllMain.cxx new file mode 100644 index 00000000..9412cbbb --- /dev/null +++ b/Public/Kits/System.Core/Sources/DllMain.cxx @@ -0,0 +1,14 @@ +/** =========================================== + (C) Mahrouss Logic + ===========================================*/ + +#include + +/// @brief Inits the DLL. +/// @return if it was succesful or not. +DWordType __DllMain(VoidType) { + kInstanceObject = HcGetInstanceObject(); + CA_MUST_PASS(kInstanceObject); + + return 0; +} \ No newline at end of file -- cgit v1.2.3