- Timestamp:
- Sep 21, 2010, 1:48:51 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/libzzuf/sys.c
r4649 r4651 48 48 return ret; 49 49 } 50 51 BOOL (WINAPI *AllocConsole_orig)(void); 52 BOOL WINAPI AllocConsole_new(void) 53 { 54 fprintf(stderr, "Allocating console\n"); 55 return AllocConsole_orig(); 56 } 57 58 BOOL (WINAPI *AttachConsole_orig)(DWORD); 59 BOOL WINAPI AttachConsole_new(DWORD d) 60 { 61 fprintf(stderr, "Attaching console\n"); 62 return AttachConsole_orig(d); 63 } 50 64 #endif 51 65 … … 81 95 { 82 96 { "kernel32.dll", "LoadLibraryA", &LoadLibraryA_orig, LoadLibraryA_new }, 97 { "kernel32.dll", "AllocConsole", &AllocConsole_orig, AllocConsole_new }, 98 { "kernel32.dll", "AttachConsole", &AttachConsole_orig, AttachConsole_new }, 83 99 }; 84 100
Note: See TracChangeset
for help on using the changeset viewer.