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.

64 lines
2.3 KiB

  1. //*****************************************************************************
  2. //
  3. // Microsoft Windows Media
  4. // Copyright (C) Microsoft Corporation. All rights reserved.
  5. //
  6. // FileName: WMSBasicPlugin.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 WMSBasicPlugin.idl" )
  17. cpp_quote("//")
  18. cpp_quote("// DO NOT EDIT THIS FILE.")
  19. cpp_quote("//")
  20. cpp_quote("//*****************************************************************************")
  21. import "WMSNamedValues.idl";
  22. import "nsscore.idl";
  23. import "WMSEventLog.idl";
  24. import "WMSContext.idl";
  25. cpp_quote( "EXTERN_GUID( IID_IWMSBasicPlugin, 0x66E6CE48,0xF8BB,0x4bcc,0x8F,0xD6,0x42,0xA9,0xD5,0xD3,0x28,0x71 );" )
  26. /////////////////////////////////////////////////////////////////////////////
  27. // IWMSBasicPlugin
  28. [
  29. object,
  30. uuid(66E6CE48-F8BB-4bcc-8FD6-42A9D5D32871),
  31. helpstring("Contains core plug-in methods that are implemented by all plug-ins."),
  32. version(9.0),
  33. pointer_default(unique)
  34. ]
  35. interface IWMSBasicPlugin : IUnknown
  36. {
  37. [helpstring("Called by the server to initialize a plug-in.")] HRESULT
  38. InitializePlugin(
  39. [in] IWMSContext *pServerContext,
  40. [in] IWMSNamedValues *pNamedValues,
  41. [in] IWMSClassObject *pClassFactory
  42. );
  43. [helpstring("Called by the server at every heartbeat interval.")] HRESULT
  44. OnHeartbeat();
  45. [helpstring("Called by the server to retrieve a pointer to the administration interface for the plug-in.")] HRESULT
  46. GetCustomAdminInterface( [out, retval] IDispatch **ppValue );
  47. [helpstring("Called by the server to shut down a plug-in.")] HRESULT
  48. ShutdownPlugin();
  49. [helpstring("Called by the server to enable a plug-in.")] HRESULT
  50. EnablePlugin( [in, out] long *plFlags, [in, out]long *plHeartbeatPeriod);
  51. [helpstring("Called by the server to disable a plug-in.")] HRESULT
  52. DisablePlugin();
  53. };