Ignore:
Timestamp:
Nov 26, 2002, 11:53:45 AM (23 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/dbgwrap.h

    r8539 r9430  
    1919typedef DWORD (* WIN32API DBG_WINPROC48)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD);
    2020typedef DWORD (* WIN32API DBG_WINPROC52)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD);
     21typedef DWORD (* WIN32API DBG_WINPROC56)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD);
     22
    2123
    2224#define DEBUGWRAP0(a) \
     
    212214    dbg_ThreadPushCall(#a); \
    213215    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) \
     222DWORD 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);         \
    214228    dbg_ThreadPopCall(); \
    215229    dprintf((DBGWRAP_MODULE": %s returned %x", #a, ret)); \
Note: See TracChangeset for help on using the changeset viewer.