RND_RES.C
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #include <windows.h>
00014
00015 static HINSTANCE hInstance;
00016
00017 #if __WATCOMC__
00018 int APIENTRY LibMain(HANDLE hDLL, DWORD dwReason, LPVOID lpReserved){
00019 #else
00020 int APIENTRY DllMain(HANDLE hDLL, DWORD dwReason, LPVOID lpReserved){
00021 #endif
00022 static BOOL unregister=TRUE;
00023 switch (dwReason) {
00024 case DLL_PROCESS_ATTACH: {
00025 hInstance=hDLL;
00026
00027 break;
00028 }
00029 case DLL_PROCESS_DETACH:
00030
00031 break;
00032 }
00033 return (int)TRUE;
00034 }
00035
00036 HINSTANCE ResourceX(void){
00037 return hInstance;
00038 }