Changeset 9430 for trunk/include/dbgwrap.h
- Timestamp:
- Nov 26, 2002, 11:53:45 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dbgwrap.h
r8539 r9430 19 19 typedef DWORD (* WIN32API DBG_WINPROC48)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD); 20 20 typedef DWORD (* WIN32API DBG_WINPROC52)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD); 21 typedef DWORD (* WIN32API DBG_WINPROC56)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD); 22 21 23 22 24 #define DEBUGWRAP0(a) \ … … 212 214 dbg_ThreadPushCall(#a); \ 213 215 ret = ((DBG_WINPROC52)a)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13); \ 216 dbg_ThreadPopCall(); \ 217 dprintf((DBGWRAP_MODULE": %s returned %x", #a, ret)); \ 218 return ret; \ 219 } 220 221 #define DEBUGWRAP56(a) \ 222 DWORD WIN32API Dbg##a(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5, DWORD arg6, DWORD arg7, DWORD arg8, DWORD arg9, DWORD arg10, DWORD arg11, DWORD arg12, DWORD arg13, DWORD arg14) \ 223 { \ 224 DWORD ret; \ 225 dprintf((DBGWRAP_MODULE": %s %x %x %x %x %x %x %x %x %x %x %x %x %x", #a, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13)); \ 226 dbg_ThreadPushCall(#a); \ 227 ret = ((DBG_WINPROC56)a)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14); \ 214 228 dbg_ThreadPopCall(); \ 215 229 dprintf((DBGWRAP_MODULE": %s returned %x", #a, ret)); \
Note:
See TracChangeset
for help on using the changeset viewer.