home *** CD-ROM | disk | FTP | other *** search
/ Cracking 1 / Cracking I..iso / Tools / Debuggery / TRW2000 / PLUGSDK / PEDUMP / BASEFUNC.H next >
Encoding:
C/C++ Source or Header  |  2000-04-26  |  771 b   |  33 lines

  1. #include <wdm.h>
  2. #include "..\include\plugs.h"
  3.  
  4.  
  5. #define    hh_IntObj_01    (api->hh_IntObj[0x01])
  6. #define    hook        api->hook
  7. #define    unhook        api->unhook
  8. #define    Add_Command    api->Add_Command
  9. #define    User_EIP    api->pUser->CRS.Client_EIP
  10. #define    Begin_Nest_VMM_Exec    api->Begin_Nest_VMM_Exec
  11. #define    End_Nest_VMM_Exec    api->End_Nest_VMM_Exec
  12.  
  13. #define    fopen        api->fopen
  14.  
  15. #define    fwrite        api->fwrite
  16. #define    fclose        api->fclose
  17. #define    msgl        api->dprintf
  18. #define    prtl        api->dprintf
  19. #define    getNum        api->getNum
  20. #define    Pdb            *(api->pCur_Process_DB)
  21.  
  22. #define    fPM            *(api->pfPM)
  23. #define    fUserVM        *(api->pfUserVM)
  24.  
  25. #define arg1    argv[0]
  26. #define arg2    argv[1]
  27. #define arg3    argv[2]
  28.  
  29. #define    MTEindex_in_Pdb_2a    0x2a
  30. #define PM                    ((PIMTE *)(api->GetMTElist()))
  31.  
  32.  
  33.