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.

31 lines
537 B

  1. #ifndef _PROFILER_H_
  2. #define _PROFILER_H_
  3. //
  4. // Constant declarations
  5. //
  6. #define NAME_OF_DLL_TO_INJECT "profiler.dll"
  7. #define NAME_OF_EXCEPTION_VXD "\\\\.\\EXVECTOR.VXD"
  8. #define INSTALL_RING_3_HANDLER 0x42424242
  9. //
  10. // Function definitions
  11. //
  12. DWORD
  13. GetExeEntryPoint(LPSTR pszExePath);
  14. PIMAGE_NT_HEADERS
  15. ImageNtHeader2 (PVOID Base);
  16. BOOL
  17. InitializeProfiler(VOID);
  18. HANDLE
  19. AttachToEXVectorVXD(VOID);
  20. VOID
  21. DetachFromEXVectorVXD(HANDLE hDevice);
  22. BOOL
  23. WriteImportDLLTableInfo(VOID);
  24. #endif //_PROFILER_H_