diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-21 22:39:57 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-21 22:39:57 +0100 |
| commit | 80b76666074aa94f165e3db7b3dda2145ca6efc0 (patch) | |
| tree | ba8a189df55f3dab4d3623eb4617c7b5d33c7f07 /Public/Kits/System.Core/Sources/DllMain.cxx | |
| parent | dafcc53840c41dab7a1897868d020a5b196d5b2d (diff) | |
unstable, kernel+api: important breaking changes.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Core/Sources/DllMain.cxx')
| -rw-r--r-- | Public/Kits/System.Core/Sources/DllMain.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
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 <System.Core/Headers/Heap.hxx> + +/// @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 |
