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