From 3b3b36dcc6542e203475fe1d50ed89799e3f3fc6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 25 Mar 2024 20:17:53 +0100 Subject: Kernel: implement some tickets, improved stuff. Signed-off-by: Amlal El Mahrouss --- Public/Developer/System.Core/Sources/LibEntrypoint.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Public/Developer/System.Core/Sources/LibEntrypoint.cxx (limited to 'Public/Developer/System.Core/Sources/LibEntrypoint.cxx') diff --git a/Public/Developer/System.Core/Sources/LibEntrypoint.cxx b/Public/Developer/System.Core/Sources/LibEntrypoint.cxx new file mode 100644 index 00000000..b874ef55 --- /dev/null +++ b/Public/Developer/System.Core/Sources/LibEntrypoint.cxx @@ -0,0 +1,14 @@ +/** =========================================== + (C) Mahrouss Logic + ===========================================*/ + +#include + +/// @brief Inits the DLL. +/// @return if it was succesful or not. +DWordType __DllMain(VoidType) { + kApplicationObject = HcGetInstanceObject(); + CA_MUST_PASS(kApplicationObject); + + return 0; +} \ No newline at end of file -- cgit v1.2.3