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.

62 lines
2.1 KiB

  1. //*****************************************************************************
  2. //
  3. // Microsoft Windows Media
  4. // Copyright (C) Microsoft Corporation. All rights reserved.
  5. //
  6. // FileName: wmseventlog.idl
  7. //
  8. // Abstract:
  9. //
  10. //*****************************************************************************
  11. cpp_quote("//*****************************************************************************")
  12. cpp_quote("//")
  13. cpp_quote("// Microsoft Windows Media")
  14. cpp_quote("// Copyright (C) Microsoft Corporation. All rights reserved.")
  15. cpp_quote("//")
  16. cpp_quote("// Automatically generated by Midl from wmseventlog.idl" )
  17. cpp_quote("//")
  18. cpp_quote("// DO NOT EDIT THIS FILE.")
  19. cpp_quote("//")
  20. cpp_quote("//*****************************************************************************")
  21. cpp_quote("#if _MSC_VER > 1000")
  22. cpp_quote("#pragma once")
  23. cpp_quote("#endif // _MSC_VER > 1000")
  24. import "oaidl.idl";
  25. import "WMSNamedValues.idl";
  26. cpp_quote( "EXTERN_GUID( IID_IWMSEventLog, 0x7a0dcfb1, 0x47af, 0x11d2, 0x9e, 0xff, 0x00, 0x60, 0x97, 0xd2, 0xd7, 0xcf );" )
  27. /////////////////////////////////////////////////////////////////////////////
  28. // IWMSEventLog
  29. [
  30. object,
  31. uuid(7A0DCFB1-47AF-11d2-9EFF-006097D2D7CF),
  32. dual,
  33. helpstring("Provides a method that allows plug-ins to log events."),
  34. version(9.0),
  35. pointer_default(unique)
  36. ]
  37. interface IWMSEventLog : IDispatch
  38. {
  39. typedef [public, uuid(940488C2-8F93-41c1-BBEB-43D1B48D084B)] enum WMS_EVENT_LOG_LEVEL
  40. {
  41. WMS_EVENT_LOG_LEVEL_ERROR = 0x0001,
  42. WMS_EVENT_LOG_LEVEL_WARNING = 0x0002,
  43. WMS_EVENT_LOG_LEVEL_INFORMATION = 0x0004
  44. } WMS_EVENT_LOG_LEVEL;
  45. [id(1), helpstring("Sends an event to the Windows application event log.")]
  46. HRESULT LogEvent(
  47. [in] IWMSNamedValues *pPluginNamedValues,
  48. [in] WMS_EVENT_LOG_LEVEL ErrorLevel,
  49. [in] long lErrorCode,
  50. [in] BSTR bstrAdditionalInfo
  51. );
  52. };