32 lines
537 B
C
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
#ifndef _PROFILER_H_
#define _PROFILER_H_
//
// Constant declarations
//
#define NAME_OF_DLL_TO_INJECT "profiler.dll"
#define NAME_OF_EXCEPTION_VXD "\\\\.\\EXVECTOR.VXD"
#define INSTALL_RING_3_HANDLER 0x42424242
//
// Function definitions
//
DWORD
GetExeEntryPoint(LPSTR pszExePath);
PIMAGE_NT_HEADERS
ImageNtHeader2 (PVOID Base);
BOOL
InitializeProfiler(VOID);
HANDLE
AttachToEXVectorVXD(VOID);
VOID
DetachFromEXVectorVXD(HANDLE hDevice);
BOOL
WriteImportDLLTableInfo(VOID);
#endif //_PROFILER_H_