windows-nt/Source/XPSP1/NT/sdktools/profiler/profiler.h

32 lines
506 B
C
Raw Normal View History

2020-09-26 03:20:57 -05: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_