home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 October / PCWorld_1999-10_cd1.bin / Hardware / Drivers / APISpy / LogAPI.h < prev    next >
C/C++ Source or Header  |  1999-07-19  |  367b  |  19 lines

  1. #ifndef LOGAPI_H
  2. #define LOGAPI_H
  3.  
  4. #define MAX_LOG_ENTRIES 1024
  5. #define MAX_API_LEN 250
  6.  
  7. struct tagLogEntry
  8. {
  9.   DWORD dwProcessId;
  10.   DWORD dwReturnValue;
  11.   PVOID pvOriginAddress;
  12.   char szAPIName[MAX_API_LEN + 1];
  13. };
  14.  
  15. bool AddLogEntry(DWORD dwProcessId, PSTR pszAPIName, DWORD dwReturnValue, PVOID pvOriginAddress);
  16. extern HANDLE hMailslot;
  17.  
  18. #endif
  19.