windows-nt/Source/XPSP1/NT/sdktools/profiler/profiler.h
2020-09-26 16:20:57 +08:00

32 lines
506 B
C

#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_