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.

94 lines
2.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: scm.idl
  7. //
  8. // Contents: Definition of private RPC interface between compobj.dll
  9. // and the service controller.
  10. //
  11. // History: 21-Apr-93 Ricksa Created
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef DO_NO_IMPORTS
  15. #ifndef RAW
  16. import "activate.idl";
  17. #endif
  18. import "iface.idl";
  19. import "obase.idl";
  20. import "objidl.idl";
  21. #endif
  22. [ uuid(00000132-0000-0000-C000-000000000046),
  23. version(0.0),
  24. pointer_default(unique)
  25. #ifndef RAW
  26. , object
  27. #endif
  28. ]
  29. #ifndef RAW
  30. interface ILocalSystemActivator : ISystemActivator
  31. #else
  32. interface ILocalSystemActivator
  33. #endif
  34. {
  35. #include "comhndl.h"
  36. COM_DEFINES(ILocalSystemActivator)
  37. #ifdef RAW
  38. typedef error_status_t STATUSTYPE;
  39. #else
  40. typedef DWORD STATUSTYPE;
  41. #endif
  42. const DWORD CREATE_EMBEDDING_SERVER_HANDLER=0x01;
  43. const DWORD DISABLE_EMBEDDING_SERVER_HANDLER=0x02;
  44. #ifdef RAW
  45. HRESULT LocalGetClassObject(
  46. COM_HANDLE
  47. [in,unique] MInterfacePointer *pActProperties,
  48. [out] MInterfacePointer **ppActProperties
  49. );
  50. HRESULT LocalCreateInstance(
  51. COM_HANDLE
  52. [in,unique] MInterfacePointer *pUnkOuter,
  53. [in,unique] MInterfacePointer *pActProperties,
  54. [out] MInterfacePointer **ppActProperties
  55. );
  56. #endif
  57. HRESULT ObjectServerLoadDll(
  58. COM_HANDLE
  59. [in] GUID * pclsid,
  60. [out] STATUSTYPE * pStatus
  61. );
  62. }
  63. #ifndef RAW
  64. //IDSCM Replacement
  65. [
  66. object,
  67. uuid(00000136-0000-0000-C000-000000000046),
  68. pointer_default(unique)
  69. ]
  70. interface ISCMLocalActivator : IUnknown
  71. {
  72. HRESULT GetClassObject(
  73. [in,unique] IActivationPropertiesIn *pActProperties,
  74. [out] IActivationPropertiesOut **ppActProperties
  75. );
  76. HRESULT CreateInstance(
  77. [in,unique] IUnknown *pUnkOuter,
  78. [in,unique] IActivationPropertiesIn *pActProperties,
  79. [out] IActivationPropertiesOut **ppActProperties
  80. );
  81. }
  82. #endif