Changeset 1366
- Timestamp:
- 09/04/07 14:25:03 (1 year ago)
- Files:
-
- libemu/trunk/include/emu/environment/win32/emu_env_w32_dll_export_hooks.h (modified) (23 diffs)
- libemu/trunk/include/emu/environment/win32/emu_env_w32_dll_export_kernel32_hooks.h (modified) (1 diff)
- libemu/trunk/include/emu/environment/win32/emu_env_w32_dll_export_urlmon_hooks.h (modified) (1 diff)
- libemu/trunk/include/emu/environment/win32/emu_env_w32_dll_export_ws2_32_hooks.h (modified) (1 diff)
- libemu/trunk/src/environment/win32/emu_env_w32_dll_export_kernel32_hooks.c (modified) (22 diffs)
- libemu/trunk/src/environment/win32/emu_env_w32_dll_export_urlmon_hooks.c (modified) (1 diff)
- libemu/trunk/src/environment/win32/emu_env_w32_dll_export_ws2_32_hooks.c (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libemu/trunk/include/emu/environment/win32/emu_env_w32_dll_export_hooks.h
r1330 r1366 87 87 {"ClearCommError", 0x0006557C, NULL}, 88 88 {"CloseConsoleHandle", 0x0001DC7E, NULL}, 89 {"CloseHandle", 0x00009B47, e mu_env_w32_hook_CloseHandle},89 {"CloseHandle", 0x00009B47, env_w32_hook_CloseHandle}, 90 90 {"CloseProfileUserMapping", 0x0002C86D, NULL}, 91 91 {"CmdBatNotification", 0x0002F609, NULL}, … … 117 117 {"CreateFiber", 0x0002FFAF, NULL}, 118 118 {"CreateFiberEx", 0x0002FFCF, NULL}, 119 {"CreateFileA", 0x00001A24, e mu_env_w32_hook_CreateFileA},119 {"CreateFileA", 0x00001A24, env_w32_hook_CreateFileA}, 120 120 {"CreateFileMappingA", 0x0000945C, NULL}, 121 121 {"CreateFileMappingW", 0x0000938E, NULL}, … … 136 136 {"CreateNlsSecurityDescriptor", 0x0002AC6C, NULL}, 137 137 {"CreatePipe", 0x0001E0C7, NULL}, 138 {"CreateProcessA", 0x00002367, e mu_env_w32_hook_CreateProcessA},138 {"CreateProcessA", 0x00002367, env_w32_hook_CreateProcessA}, 139 139 {"CreateProcessInternalA", 0x0001DDD6, NULL}, 140 140 {"CreateProcessInternalW", 0x00019513, NULL}, … … 167 167 {"DeleteCriticalSection", 0x00008FBC, NULL}, 168 168 {"DeleteFiber", 0x0002FE84, NULL}, 169 {"DeleteFileA", 0x00031EAB, e mu_env_w32_hook_DeleteFileA },169 {"DeleteFileA", 0x00031EAB, env_w32_hook_DeleteFileA }, 170 170 {"DeleteFileW", 0x00031F31, NULL}, 171 171 {"DeleteTimerQueue", 0x00062DC3, NULL}, … … 220 220 {"EraseTape", 0x0006B11B, NULL}, 221 221 {"EscapeCommFunction", 0x0006578E, NULL}, 222 {"ExitProcess", 0x0001CDDA, e mu_env_w32_hook_ExitProcess},223 {"ExitThread", 0x0000C058, e mu_env_w32_hook_ExitThread},222 {"ExitProcess", 0x0001CDDA, env_w32_hook_ExitProcess}, 223 {"ExitThread", 0x0000C058, env_w32_hook_ExitThread}, 224 224 {"ExitVDM", 0x00067695, NULL}, 225 225 {"ExpandEnvironmentStringsA", 0x000329D9, NULL}, … … 445 445 {"GetPrivateProfileStructA", 0x0005BB2B, NULL}, 446 446 {"GetPrivateProfileStructW", 0x0005BC95, NULL}, 447 {"GetProcAddress", 0x0000ADA0, e mu_env_w32_hook_GetProcAddress},447 {"GetProcAddress", 0x0000ADA0, env_w32_hook_GetProcAddress}, 448 448 {"GetProcessAffinityMask", 0x00021765, NULL}, 449 449 {"GetProcessHandleCount", 0x00061186, NULL}, … … 476 476 {"GetSystemDefaultLangID", 0x000127B2, NULL}, 477 477 {"GetSystemDefaultUILanguage", 0x00013038, NULL}, 478 {"GetSystemDirectoryA", 0x00014EEA, e mu_env_w32_hook_GetSystemDirectoryA },478 {"GetSystemDirectoryA", 0x00014EEA, env_w32_hook_GetSystemDirectoryA }, 479 479 {"GetSystemDirectoryW", 0x00031DB9, NULL}, 480 480 {"GetSystemInfo", 0x00012D56, NULL}, … … 503 503 {"GetThreadSelectorEntry", 0x0005A1E8, NULL}, 504 504 {"GetThreadTimes", 0x00062C9C, NULL}, 505 {"GetTickCount", 0x0000929C, e mu_env_w32_hook_GetTickCount},505 {"GetTickCount", 0x0000929C, env_w32_hook_GetTickCount}, 506 506 {"GetTimeFormatA", 0x0003632D, NULL}, 507 507 {"GetTimeFormatW", 0x00033FD3, NULL}, … … 615 615 {"LZStart", 0x0007E9E7, NULL}, 616 616 {"LeaveCriticalSection", 0x0000911B, NULL}, 617 {"LoadLibraryA", 0x00001D77, e mu_env_w32_hook_LoadLibrayA},617 {"LoadLibraryA", 0x00001D77, env_w32_hook_LoadLibrayA}, 618 618 {"LoadLibraryExA", 0x00001D4F, NULL}, 619 619 {"LoadLibraryExW", 0x00001AF1, NULL}, … … 856 856 {"SetTimeZoneInformation", 0x0005945E, NULL}, 857 857 {"SetTimerQueueTimer", 0x0002B26E, NULL}, 858 {"SetUnhandledExceptionFilter", 0x0004479D, e mu_env_w32_hook_SetUnhandledExceptionFilter},858 {"SetUnhandledExceptionFilter", 0x0004479D, env_w32_hook_SetUnhandledExceptionFilter}, 859 859 {"SetUserGeoID", 0x00078C5C, NULL}, 860 860 {"SetVDMCurrentDirectories", 0x00067714, NULL}, … … 928 928 {"WaitForMultipleObjects", 0x0000A05D, NULL}, 929 929 {"WaitForMultipleObjectsEx", 0x0000952A, NULL}, 930 {"WaitForSingleObject", 0x00002520, e mu_env_w32_hook_WaitForSingleObject},930 {"WaitForSingleObject", 0x00002520, env_w32_hook_WaitForSingleObject}, 931 931 {"WaitForSingleObjectEx", 0x00002540, NULL}, 932 932 {"WaitNamedPipeA", 0x0005FC39, NULL}, 933 933 {"WaitNamedPipeW", 0x0002C664, NULL}, 934 934 {"WideCharToMultiByte", 0x0000A0D4, NULL}, 935 {"WinExec", 0x0006136D, e mu_env_w32_hook_WinExec},935 {"WinExec", 0x0006136D, env_w32_hook_WinExec}, 936 936 {"WriteConsoleA", 0x0001CF25, NULL}, 937 937 {"WriteConsoleInputA", 0x000723C5, NULL}, … … 945 945 {"WriteConsoleOutputW", 0x00072B21, NULL}, 946 946 {"WriteConsoleW", 0x00035484, NULL}, 947 {"WriteFile", 0x00010D87, e mu_env_w32_hook_WriteFile},947 {"WriteFile", 0x00010D87, env_w32_hook_WriteFile}, 948 948 {"WriteFileEx", 0x0005C701, NULL}, 949 949 {"WriteFileGather", 0x0002DDA5, NULL}, … … 962 962 {"ZombifyActCtx", 0x0006B6FB, NULL}, 963 963 {"_hread", 0x000353CE, NULL}, 964 {"_hwrite", 0x00038AE7, e mu_env_w32_hook__hwrite},965 {"_lclose", 0x00034E64, e mu_env_w32_hook__lclose},966 {"_lcreat", 0x000365A5, e mu_env_w32_hook__lcreat},964 {"_hwrite", 0x00038AE7, env_w32_hook__hwrite}, 965 {"_lclose", 0x00034E64, env_w32_hook__lclose}, 966 {"_lcreat", 0x000365A5, env_w32_hook__lcreat}, 967 967 {"_llseek", 0x00035406, NULL}, 968 968 {"_lopen", 0x0005E830, NULL}, 969 969 {"_lread", 0x000353CE, NULL}, 970 {"_lwrite", 0x00038AE7, e mu_env_w32_hook__lwrite},970 {"_lwrite", 0x00038AE7, env_w32_hook__lwrite}, 971 971 {"lstrcat", 0x00034D41, NULL}, 972 972 {"lstrcatA", 0x00034D41, NULL}, … … 992 992 struct emu_env_w32_dll_export ws2_32_exports[] = 993 993 { 994 {"accept", 0x00011028, e mu_env_w32_hook_accept},995 {"bind", 0x00003E00, e mu_env_w32_hook_bind},996 {"closesocket", 0x00009639, e mu_env_w32_hook_closesocket},997 {"connect", 0x0000406A, e mu_env_w32_hook_connect},994 {"accept", 0x00011028, env_w32_hook_accept}, 995 {"bind", 0x00003E00, env_w32_hook_bind}, 996 {"closesocket", 0x00009639, env_w32_hook_closesocket}, 997 {"connect", 0x0000406A, env_w32_hook_connect}, 998 998 {"getpeername", 0x00010B50, NULL}, 999 999 {"getsockname", 0x0000951E, NULL}, … … 1004 1004 {"inet_addr", 0x00002BF4, NULL}, 1005 1005 {"inet_ntoa", 0x00003F41, NULL}, 1006 {"listen", 0x000088D3, e mu_env_w32_hook_listen},1006 {"listen", 0x000088D3, env_w32_hook_listen}, 1007 1007 {"ntohl", 0x00002BC0, NULL}, 1008 1008 {"ntohs", 0x00002B66, NULL}, 1009 {"recv", 0x0000615A, e mu_env_w32_hook_recv},1009 {"recv", 0x0000615A, env_w32_hook_recv}, 1010 1010 {"recvfrom", 0x00002D0F, NULL}, 1011 1011 {"select", 0x00002DC0, NULL}, 1012 {"send", 0x0000428A, e mu_env_w32_hook_send},1013 {"sendto", 0x00002C69, e mu_env_w32_hook_sendto},1012 {"send", 0x0000428A, env_w32_hook_send}, 1013 {"sendto", 0x00002C69, env_w32_hook_sendto}, 1014 1014 {"setsockopt", 0x00003EA1, NULL}, 1015 1015 {"shutdown", 0x00010BDE, NULL}, 1016 {"socket", 0x00003B91, e mu_env_w32_hook_socket},1016 {"socket", 0x00003B91, env_w32_hook_socket}, 1017 1017 {"GetAddrInfoW", 0x00002899, NULL}, 1018 1018 {"GetNameInfoW", 0x0000C4EC, NULL}, … … 1073 1073 {"WSASetServiceA", 0x000104BA, NULL}, 1074 1074 {"WSASetServiceW", 0x00010269, NULL}, 1075 {"WSASocketA", 0x00008769, e mu_env_w32_hook_WSASocketA},1075 {"WSASocketA", 0x00008769, env_w32_hook_WSASocketA}, 1076 1076 {"WSASocketW", 0x000039CB, NULL}, 1077 1077 {"WSAStringToAddressA", 0x000090D8, NULL}, … … 1105 1105 {"WSACancelBlockingCall", 0x0000D3F2, NULL}, 1106 1106 {"WSAIsBlocking", 0x0000D441, NULL}, 1107 {"WSAStartup", 0x0000664D, e mu_env_w32_hook_WSAStartup},1107 {"WSAStartup", 0x0000664D, env_w32_hook_WSAStartup}, 1108 1108 {"WSACleanup", 0x00004428, NULL}, 1109 1109 {"__WSAFDIsSet", 0x00004544, NULL}, … … 2004 2004 {"exp", 0x0003CE20, NULL}, 2005 2005 {"fabs", 0x000403B2, NULL}, 2006 {"fclose", 0x00030AB1, e mu_env_w32_hook_fclose},2006 {"fclose", 0x00030AB1, env_w32_hook_fclose}, 2007 2007 {"feof", 0x00030B07, NULL}, 2008 2008 {"ferror", 0x00030B1C, NULL}, … … 2015 2015 {"floor", 0x00040470, NULL}, 2016 2016 {"fmod", 0x0003CEB0, NULL}, 2017 {"fopen", 0x0002F010, e mu_env_w32_hook_fopen},2017 {"fopen", 0x0002F010, env_w32_hook_fopen}, 2018 2018 {"fprintf", 0x00030E13, NULL}, 2019 2019 {"fputc", 0x00030E76, NULL}, … … 2030 2030 {"ftell", 0x00031574, NULL}, 2031 2031 {"fwprintf", 0x000315BA, NULL}, 2032 {"fwrite", 0x0003173B, e mu_env_w32_hook_fwrite},2032 {"fwrite", 0x0003173B, env_w32_hook_fwrite}, 2033 2033 {"fwscanf", 0x0003178C, NULL}, 2034 2034 {"getc", 0x00030B31, NULL}, … … 2073 2073 {"log10", 0x0003D040, NULL}, 2074 2074 {"longjmp", 0x00026D74, NULL}, 2075 {"malloc", 0x0001C407, e mu_env_w32_hook_malloc},2075 {"malloc", 0x0001C407, env_w32_hook_malloc}, 2076 2076 {"mblen", 0x0000D1EC, NULL}, 2077 2077 {"mbstowcs", 0x0000D380, NULL}, … … 2081 2081 {"memcpy", 0x00036F70, NULL}, 2082 2082 {"memmove", 0x000372B0, NULL}, 2083 {"memset", 0x000375F0, e mu_env_w32_hook_memset},2083 {"memset", 0x000375F0, env_w32_hook_memset}, 2084 2084 {"mktime", 0x0003AE8C, NULL}, 2085 2085 {"modf", 0x00040840, NULL}, … … 2253 2253 { "URLDownloadToCacheFileA", 0x0005B1C1, NULL}, 2254 2254 { "URLDownloadToCacheFileW", 0x0005ADA4, NULL}, 2255 { "URLDownloadToFileA", 0x0005B0BB, e mu_env_w32_hook_URLDownloadToFileA},2255 { "URLDownloadToFileA", 0x0005B0BB, env_w32_hook_URLDownloadToFileA}, 2256 2256 { "URLDownloadToFileW", 0x0005AD3E, NULL}, 2257 2257 { "URLDownloadW", 0x0002E66E, NULL}, libemu/trunk/include/emu/environment/win32/emu_env_w32_dll_export_kernel32_hooks.h
r1330 r1366 28 28 #include <stdint.h> 29 29 30 int32_t e mu_env_w32_hook_CloseHandle(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);31 int32_t e mu_env_w32_hook_CreateFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);32 int32_t e mu_env_w32_hook_CreateProcessA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);33 int32_t e mu_env_w32_hook_DeleteFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);34 int32_t e mu_env_w32_hook_ExitProcess(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);35 int32_t e mu_env_w32_hook_ExitThread(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);36 int32_t e mu_env_w32_hook_fclose(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);37 int32_t e mu_env_w32_hook_fopen(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);38 int32_t e mu_env_w32_hook_fwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);39 int32_t e mu_env_w32_hook_GetProcAddress(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);40 int32_t e mu_env_w32_hook_GetSystemDirectoryA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);41 int32_t e mu_env_w32_hook_GetTickCount(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);42 int32_t e mu_env_w32_hook__hwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);43 int32_t e mu_env_w32_hook__lclose(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);44 int32_t e mu_env_w32_hook__lcreat(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);45 int32_t e mu_env_w32_hook__lwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);46 int32_t e mu_env_w32_hook_LoadLibrayA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);47 int32_t e mu_env_w32_hook_malloc(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);48 int32_t e mu_env_w32_hook_memset(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);49 int32_t e mu_env_w32_hook_SetUnhandledExceptionFilter(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);50 int32_t e mu_env_w32_hook_WaitForSingleObject(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);51 int32_t e mu_env_w32_hook_WinExec(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);52 int32_t e mu_env_w32_hook_WriteFile(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);30 int32_t env_w32_hook_CloseHandle(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 31 int32_t env_w32_hook_CreateFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 32 int32_t env_w32_hook_CreateProcessA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 33 int32_t env_w32_hook_DeleteFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 34 int32_t env_w32_hook_ExitProcess(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 35 int32_t env_w32_hook_ExitThread(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 36 int32_t env_w32_hook_fclose(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 37 int32_t env_w32_hook_fopen(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 38 int32_t env_w32_hook_fwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 39 int32_t env_w32_hook_GetProcAddress(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 40 int32_t env_w32_hook_GetSystemDirectoryA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 41 int32_t env_w32_hook_GetTickCount(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 42 int32_t env_w32_hook__hwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 43 int32_t env_w32_hook__lclose(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 44 int32_t env_w32_hook__lcreat(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 45 int32_t env_w32_hook__lwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 46 int32_t env_w32_hook_LoadLibrayA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 47 int32_t env_w32_hook_malloc(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 48 int32_t env_w32_hook_memset(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 49 int32_t env_w32_hook_SetUnhandledExceptionFilter(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 50 int32_t env_w32_hook_WaitForSingleObject(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 51 int32_t env_w32_hook_WinExec(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 52 int32_t env_w32_hook_WriteFile(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 53 53 54 54 #define HANDLE int32_t libemu/trunk/include/emu/environment/win32/emu_env_w32_dll_export_urlmon_hooks.h
r1330 r1366 28 28 #include <stdint.h> 29 29 30 int32_t e mu_env_w32_hook_URLDownloadToFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);30 int32_t env_w32_hook_URLDownloadToFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 31 31 libemu/trunk/include/emu/environment/win32/emu_env_w32_dll_export_ws2_32_hooks.h
r1330 r1366 28 28 #include <stdint.h> 29 29 30 int32_t e mu_env_w32_hook_accept(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);31 int32_t e mu_env_w32_hook_bind(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);32 int32_t e mu_env_w32_hook_closesocket(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);33 int32_t e mu_env_w32_hook_connect(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);34 int32_t e mu_env_w32_hook_listen(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);35 int32_t e mu_env_w32_hook_recv(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);36 int32_t e mu_env_w32_hook_send(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);37 int32_t e mu_env_w32_hook_sendto(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);38 int32_t e mu_env_w32_hook_socket(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);39 int32_t e mu_env_w32_hook_WSASocketA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);40 int32_t e mu_env_w32_hook_WSAStartup(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex);30 int32_t env_w32_hook_accept(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 31 int32_t env_w32_hook_bind(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 32 int32_t env_w32_hook_closesocket(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 33 int32_t env_w32_hook_connect(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 34 int32_t env_w32_hook_listen(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 35 int32_t env_w32_hook_recv(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 36 int32_t env_w32_hook_send(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 37 int32_t env_w32_hook_sendto(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 38 int32_t env_w32_hook_socket(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 39 int32_t env_w32_hook_WSASocketA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 40 int32_t env_w32_hook_WSAStartup(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex); 41 41 libemu/trunk/src/environment/win32/emu_env_w32_dll_export_kernel32_hooks.c
r1341 r1366 55 55 56 56 57 int32_t e mu_env_w32_hook_CloseHandle(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)57 int32_t env_w32_hook_CloseHandle(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 58 58 { 59 59 printf("Hook me Captain Cook!\n"); … … 80 80 81 81 82 int32_t e mu_env_w32_hook_CreateFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)82 int32_t env_w32_hook_CreateFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 83 83 { 84 84 printf("Hook me Captain Cook!\n"); … … 129 129 130 130 131 int32_t e mu_env_w32_hook_CreateProcessA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)131 int32_t env_w32_hook_CreateProcessA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 132 132 { 133 133 printf("Hook me Captain Cook!\n"); … … 281 281 } 282 282 283 int32_t e mu_env_w32_hook_DeleteFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)283 int32_t env_w32_hook_DeleteFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 284 284 { 285 285 printf("Hook me Captain Cook!\n"); … … 305 305 } 306 306 307 int32_t e mu_env_w32_hook_ExitProcess(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)307 int32_t env_w32_hook_ExitProcess(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 308 308 { 309 309 printf("Hook me Captain Cook!\n"); … … 330 330 } 331 331 332 int32_t e mu_env_w32_hook_ExitThread(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)332 int32_t env_w32_hook_ExitThread(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 333 333 { 334 334 printf("Hook me Captain Cook!\n"); … … 355 355 } 356 356 357 int32_t e mu_env_w32_hook_fclose(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)357 int32_t env_w32_hook_fclose(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 358 358 { 359 359 printf("Hook me Captain Cook!\n"); … … 383 383 384 384 385 int32_t e mu_env_w32_hook_fopen(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)385 int32_t env_w32_hook_fopen(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 386 386 { 387 387 printf("Hook me Captain Cook!\n"); … … 419 419 } 420 420 421 int32_t e mu_env_w32_hook_fwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)421 int32_t env_w32_hook_fwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 422 422 { 423 423 printf("Hook me Captain Cook!\n"); … … 455 455 } 456 456 457 int32_t e mu_env_w32_hook_GetProcAddress(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)457 int32_t env_w32_hook_GetProcAddress(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 458 458 { 459 459 printf("Hook me Captain Cook!\n"); … … 520 520 } 521 521 522 int32_t e mu_env_w32_hook_GetSystemDirectoryA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)522 int32_t env_w32_hook_GetSystemDirectoryA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 523 523 { 524 524 printf("Hook me Captain Cook!\n"); … … 551 551 552 552 553 int32_t e mu_env_w32_hook_GetTickCount(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)553 int32_t env_w32_hook_GetTickCount(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 554 554 { 555 555 printf("Hook me Captain Cook!\n"); … … 568 568 } 569 569 570 int32_t e mu_env_w32_hook__hwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)571 { 572 return e mu_env_w32_hook__lwrite(env, ex);573 } 574 575 int32_t e mu_env_w32_hook__lcreat(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)570 int32_t env_w32_hook__hwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 571 { 572 return env_w32_hook__lwrite(env, ex); 573 } 574 575 int32_t env_w32_hook__lcreat(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 576 576 { 577 577 printf("Hook me Captain Cook!\n"); … … 602 602 } 603 603 604 int32_t e mu_env_w32_hook__lclose(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)604 int32_t env_w32_hook__lclose(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 605 605 { 606 606 printf("Hook me Captain Cook!\n"); … … 623 623 } 624 624 625 int32_t e mu_env_w32_hook__lwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)625 int32_t env_w32_hook__lwrite(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 626 626 { 627 627 printf("Hook me Captain Cook!\n"); … … 656 656 } 657 657 658 int32_t e mu_env_w32_hook_LoadLibrayA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)658 int32_t env_w32_hook_LoadLibrayA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 659 659 { 660 660 printf("Hook me Captain Cook!\n"); … … 709 709 } 710 710 711 int32_t e mu_env_w32_hook_malloc(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)711 int32_t env_w32_hook_malloc(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 712 712 { 713 713 printf("Hook me Captain Cook!\n"); … … 743 743 } 744 744 745 int32_t e mu_env_w32_hook_memset(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)745 int32_t env_w32_hook_memset(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 746 746 { 747 747 printf("Hook me Captain Cook!\n"); … … 784 784 } 785 785 786 int32_t e mu_env_w32_hook_SetUnhandledExceptionFilter(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)786 int32_t env_w32_hook_SetUnhandledExceptionFilter(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 787 787 { 788 788 printf("Hook me Captain Cook!\n"); … … 810 810 } 811 811 812 int32_t e mu_env_w32_hook_WaitForSingleObject(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)812 int32_t env_w32_hook_WaitForSingleObject(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 813 813 { 814 814 printf("Hook me Captain Cook!\n"); … … 853 853 } 854 854 855 int32_t e mu_env_w32_hook_WinExec(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)855 int32_t env_w32_hook_WinExec(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 856 856 { 857 857 printf("Hook me Captain Cook!\n"); … … 889 889 } 890 890 891 int32_t e mu_env_w32_hook_WriteFile(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)891 int32_t env_w32_hook_WriteFile(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 892 892 { 893 893 printf("Hook me Captain Cook!\n"); libemu/trunk/src/environment/win32/emu_env_w32_dll_export_urlmon_hooks.c
r1333 r1366 46 46 #include "emu/environment/win32/emu_env_w32_dll_export_urlmon_hooks.h" 47 47 48 int32_t e mu_env_w32_hook_URLDownloadToFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)48 int32_t env_w32_hook_URLDownloadToFileA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 49 49 { 50 50 printf("Hook me Captain Cook!\n"); libemu/trunk/src/environment/win32/emu_env_w32_dll_export_ws2_32_hooks.c
r1333 r1366 53 53 #include "emu/environment/win32/emu_env_w32_dll_export_ws2_32_hooks.h" 54 54 55 int32_t e mu_env_w32_hook_accept(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)55 int32_t env_w32_hook_accept(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 56 56 { 57 57 printf("Hook me Captain Cook!\n"); … … 96 96 } 97 97 98 int32_t e mu_env_w32_hook_bind(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)98 int32_t env_w32_hook_bind(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 99 99 { 100 100 printf("Hook me Captain Cook!\n"); … … 147 147 148 148 149 int32_t e mu_env_w32_hook_closesocket(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)149 int32_t env_w32_hook_closesocket(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 150 150 { 151 151 printf("Hook me Captain Cook!\n"); … … 177 177 178 178 179 int32_t e mu_env_w32_hook_connect(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)179 int32_t env_w32_hook_connect(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 180 180 { 181 181 printf("Hook me Captain Cook!\n"); … … 226 226 } 227 227 228 int32_t e mu_env_w32_hook_listen(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)228 int32_t env_w32_hook_listen(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 229 229 { 230 230 printf("Hook me Captain Cook!\n"); … … 263 263 } 264 264 265 int32_t e mu_env_w32_hook_recv(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)265 int32_t env_w32_hook_recv(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 266 266 { 267 267 printf("Hook me Captain Cook!\n"); … … 314 314 315 315 316 int32_t e mu_env_w32_hook_send(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)316 int32_t env_w32_hook_send(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 317 317 { 318 318 printf("Hook me Captain Cook!\n"); … … 364 364 365 365 366 int32_t e mu_env_w32_hook_sendto(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)366 int32_t env_w32_hook_sendto(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 367 367 { 368 368 printf("Hook me Captain Cook!\n"); … … 416 416 } 417 417 418 int32_t e mu_env_w32_hook_socket(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)418 int32_t env_w32_hook_socket(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 419 419 { 420 420 printf("Hook me Captain Cook!\n"); … … 456 456 } 457 457 458 int32_t e mu_env_w32_hook_WSASocketA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)458 int32_t env_w32_hook_WSASocketA(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 459 459 { 460 460 printf("Hook me Captain Cook!\n"); … … 512 512 513 513 514 int32_t e mu_env_w32_hook_WSAStartup(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex)514 int32_t env_w32_hook_WSAStartup(struct emu_env_w32 *env, struct emu_env_w32_dll_export *ex) 515 515 { 516 516 printf("Hook me Captain Cook!\n");
