summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Sources/LibEntrypoint.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-25 20:17:53 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-25 20:17:53 +0100
commit3b3b36dcc6542e203475fe1d50ed89799e3f3fc6 (patch)
tree3d1e4cfba79343e2b5ef8db58c58271009a44937 /Public/Developer/System.Core/Sources/LibEntrypoint.cxx
parentd968190d1ba48638c1481be0d367ee3cea82ae55 (diff)
Kernel: implement some tickets, improved stuff.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Developer/System.Core/Sources/LibEntrypoint.cxx')
-rw-r--r--Public/Developer/System.Core/Sources/LibEntrypoint.cxx14
1 files changed, 14 insertions, 0 deletions
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 <System.Core/Headers/Heap.hxx>
+
+/// @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