Source code of Windows XP (NT5)
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.

108 lines
2.2 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module name :
  4. regsink.h
  5. Abstract:
  6. Libaray to support registration processes for SEO sinks.
  7. Author:
  8. Keith Lau (KeithLau) 7/04/98
  9. Project:
  10. SMTP Server DLL
  11. Revision History:
  12. --*/
  13. #ifndef __REGSINK_H__
  14. #define __REGSINK_H__
  15. HRESULT RegisterSinkAndAllDependencies(
  16. DWORD dwInstanceID,
  17. REFGUID rguidSourceType,
  18. LPSTR pszSourceTypeDisplayName,
  19. REFGUID rguidEventType,
  20. LPSTR pszEventTypeDisplayName,
  21. REFGUID rguidSourceBaseGuid,
  22. LPSTR pszBaseDisplayName,
  23. LPSTR pszMetabaseRootPath,
  24. REFGUID rguidBinding,
  25. LPSTR pszSinkDisplayName,
  26. LPSTR pszSinkProgID,
  27. LPSTR pszRule,
  28. DWORD dwPriority
  29. );
  30. HRESULT UnregisterSinkGivenDependencies(
  31. DWORD dwInstanceID,
  32. REFGUID rguidSourceType,
  33. REFGUID rguidEventType,
  34. REFGUID rguidSourceBaseGuid,
  35. LPSTR pszMetabaseRootPath,
  36. REFGUID rguidBinding
  37. );
  38. HRESULT FindEventSourceType(
  39. REFGUID rguidSourceType,
  40. IEventSourceType **ppSourceType
  41. );
  42. HRESULT RegisterEventSourceType(
  43. REFGUID rguidSourceType,
  44. LPSTR pszDisplayName,
  45. IEventSourceType **ppSourceType
  46. );
  47. HRESULT RegisterEventType(
  48. IEventSourceType *pSourceType,
  49. REFGUID rguidEventType,
  50. LPSTR pszDisplayName
  51. );
  52. HRESULT FindEventSource(
  53. IEventSourceType *pSourceType,
  54. REFGUID rguidSourceBaseGuid,
  55. DWORD dwInstanceID,
  56. IEventSource **ppEventSource
  57. );
  58. HRESULT RegisterEventSource(
  59. IEventSourceType *pSourceType,
  60. REFGUID rguidSourceBaseGuid,
  61. LPSTR pszMetabaseRootPath,
  62. LPSTR pszBaseDisplayName,
  63. DWORD dwInstanceID,
  64. IEventSource **ppEventSource
  65. );
  66. HRESULT RegisterEventSink(
  67. IEventSource *pEventSource,
  68. REFGUID rguidBinding,
  69. REFGUID rguidEventType,
  70. LPSTR pszSinkProgID,
  71. LPSTR pszDisplayName,
  72. LPSTR pszRule,
  73. DWORD dwPriority
  74. );
  75. HRESULT UnregisterEventSink(
  76. IEventSource *pEventSource,
  77. REFGUID rguidBinding,
  78. REFGUID rguidEventType
  79. );
  80. HRESULT UnregisterEventSource(
  81. IEventSourceType *pSourceType,
  82. REFGUID rguidSourceBaseGuid,
  83. DWORD dwInstanceID
  84. );
  85. #endif