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.

55 lines
901 B

  1. #pragma once
  2. #ifndef MIFAULT_EXPORT
  3. #define MIFAULT_EXPORT __declspec(dllimport)
  4. #endif
  5. namespace MiFaultLib {
  6. #if 0
  7. }
  8. #endif
  9. // Triggered
  10. //
  11. // Returns function pointer for triggered faulting function, if any.
  12. // If a function pointer is returned, sets up thread state
  13. // associated with trigger.
  14. MIFAULT_EXPORT
  15. PVOID
  16. Triggered(
  17. IN size_t const uFunctionIndex
  18. );
  19. // TriggerFinished
  20. //
  21. // Cleans up thread state associated with trigger
  22. MIFAULT_EXPORT
  23. void
  24. TriggerFinished(
  25. );
  26. MIFAULT_EXPORT
  27. BOOL
  28. FilterAttach(
  29. HINSTANCE const hInstDLL,
  30. DWORD const dwReason,
  31. CSetPointManager* pSetPointManager,
  32. const CWrapperFunction* pWrappers,
  33. size_t NumWrappers,
  34. const char* ModuleName
  35. );
  36. MIFAULT_EXPORT
  37. BOOL
  38. FilterDetach(
  39. HINSTANCE const hInstDLL,
  40. DWORD const dwReason
  41. );
  42. #if 0
  43. {
  44. #endif
  45. }