LogAPI.h
Upload User: tzh4061
Upload Date: 2007-01-08
Package Size: 309k
Code Size: 0k
Category:

Hook api

Development Platform:

Visual C++

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