diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-01 12:05:02 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-01 12:05:02 +0300 |
commit | 5900716291f8bb00a062c1c9f169c4ba8671c759 (patch) | |
tree | 9c247dc2470a1f37cc1b23f8af82f78151bef745 | |
parent | 4017aaaa4545a001b98ff85ba134f9695ce07e35 (diff) |
new file: api/api.h
modified: core/main.cpp
new file: modules/example/main.cpp
-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; +} + + |