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.

56 lines
1.5 KiB

  1. // This file will be processed by the MIDL tool to
  2. // produce the type library (appmgr.tlb) and marshalling code.
  3. import "oaidl.idl";
  4. import "ocidl.idl";
  5. //////////////////////////////////////////////////////////////////////////
  6. // Appliance Object Manager Interfaces
  7. //////////////////////////////////////////////////////////////////////////
  8. //////////////////////////////////////////////////////////////////////////
  9. typedef enum _APPLIANCE_OBJECT_MANAGER_STATUS
  10. {
  11. OBJECT_MANAGER_INITIALIZED,
  12. OBJECT_MANAGER_SHUTDOWN,
  13. OBJECT_MANAGER_INOPERABLE
  14. } APPLIANCE_OBJECT_MANAGER_STATUS;
  15. [
  16. object,
  17. uuid(0555bc40-363c-11d3-bfbc-00105a1f3461),
  18. dual,
  19. pointer_default(unique)
  20. ]
  21. [hidden] interface IApplianceObjectManagerStatus : IDispatch
  22. {
  23. [id(1)]
  24. HRESULT
  25. SetManagerStatus(
  26. [in] APPLIANCE_OBJECT_MANAGER_STATUS eStatus
  27. );
  28. };
  29. //////////////////////////////////////////////////////////////////////////
  30. [
  31. object,
  32. uuid(427f7b10-cbb6-11d2-90c3-00aa00a71dca),
  33. dual,
  34. pointer_default(unique)
  35. ]
  36. [hidden] interface IApplianceObjectManager : IDispatch
  37. {
  38. [id(1)]
  39. HRESULT
  40. InitializeManager(
  41. [in] IApplianceObjectManagerStatus* pObjMgrStatus
  42. );
  43. [id(2)]
  44. HRESULT
  45. ShutdownManager(void);
  46. };