Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#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_
|