diff options
-rw-r--r-- | api/api.h | 0 | ||||
-rw-r--r-- | core/main.cpp | 2 | ||||
-rw-r--r-- | modules/example/main.cpp | 12 |
3 files changed, 12 insertions, 2 deletions
diff --git a/api/api.h b/api/api.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/api/api.h diff --git a/core/main.cpp b/core/main.cpp index c2858ba..f93b81b 100644 --- a/core/main.cpp +++ b/core/main.cpp @@ -1,6 +1,4 @@ #include <windows.h> -#include <iostream> -#include <list> int main() { diff --git a/modules/example/main.cpp b/modules/example/main.cpp new file mode 100644 index 0000000..9b2af1b --- /dev/null +++ b/modules/example/main.cpp @@ -0,0 +1,12 @@ +#include <windows.h> + +HINSTANCE hDllInstance=NULL; +BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, +LPVOID lpReserved ) +{ + if (ul_reason_for_call == DLL_PROCESS_ATTACH) + hDllInstance = (HINSTANCE)hModule; + return TRUE; +} + + |