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.

156 lines
3.2 KiB

  1. //***************************************************************************
  2. //
  3. // Copyright (c) 1998-1999 Microsoft Corporation
  4. //
  5. // DISPI.IDL
  6. //
  7. // WBEMDISP Internal IDL Definitions
  8. //
  9. //***************************************************************************
  10. import "wbemcli.idl";
  11. import "wbemdisp.idl";
  12. [
  13. uuid(D097D45A-37BC-11d2-8B3C-00600806D9B6),
  14. lcid(0x00),
  15. version(1.0)
  16. ]
  17. library WbemScriptingI
  18. {
  19. importlib("stdole2.tlb");
  20. interface ISWbemInternalContext;
  21. interface ISWbemInternalObject;
  22. interface ISWbemInternalServices;
  23. interface ISWbemInternalSecurity;
  24. }
  25. [
  26. object,
  27. local,
  28. uuid(61EA8DBC-37B8-11d2-8B3C-00600806D9B6)
  29. ]
  30. interface ISWbemInternalContext : IUnknown
  31. {
  32. [id(1)] HRESULT GetIWbemContext ([out,retval] IWbemContext **ppContext);
  33. };
  34. [
  35. object,
  36. local,
  37. uuid(9AF56A1A-37C1-11d2-8B3C-00600806D9B6)
  38. ]
  39. interface ISWbemInternalObject : IUnknown
  40. {
  41. [id(1)] HRESULT GetIWbemClassObject ([out,retval] IWbemClassObject **ppObject);
  42. [id(2)] HRESULT SetSite (
  43. [in] ISWbemInternalObject *pSObject,
  44. [in] BSTR propertyName,
  45. [in] long index
  46. );
  47. [id(3)] HRESULT UpdateSite ();
  48. };
  49. [
  50. object,
  51. local,
  52. uuid(67CB17B2-DB43-11d3-B38F-00105A1F473A)
  53. ]
  54. interface ISWbemInternalServices : IUnknown
  55. {
  56. [id(1)] HRESULT GetIWbemServices ([out,retval] IWbemServices **ppServices);
  57. [id(2)] HRESULT GetNamespacePath ([out,retval] BSTR *bsNamespacePath);
  58. [id(3)] HRESULT GetLocale ([out,retval] BSTR *bsLocale);
  59. [id(4)] HRESULT GetISWbemInternalSecurity ([out,retval] ISWbemInternalSecurity **ppISWbemInternalSecurity);
  60. };
  61. [
  62. object,
  63. local,
  64. uuid(CB0733BE-DB49-11d3-B38F-00105A1F473A)
  65. ]
  66. interface ISWbemInternalSecurity : IUnknown
  67. {
  68. [id(1)] HRESULT GetAuthority ([out,retval] BSTR *bsAuthority);
  69. [id(2)] HRESULT GetUPD ([out] BSTR *bsUser, [out] BSTR *bsPassword, [out] BSTR *bsDomain);
  70. [id(3)] HRESULT GetPrincipal ([out,retval] BSTR *bsPrincipal);
  71. };
  72. [
  73. object,
  74. local,
  75. uuid(8D24A115-21AE-4f0b-89E4-95BD08BE3EBB),
  76. hidden,
  77. nonextensible,
  78. pointer_default(unique),
  79. ]
  80. interface ISWbemPrivateSinkLocator : IUnknown
  81. {
  82. [
  83. id(1),
  84. ]
  85. HRESULT GetPrivateSink(
  86. [out] IUnknown **objWbemPrivateSink
  87. );
  88. };
  89. [
  90. object,
  91. local,
  92. uuid(073C58A9-3793-11d2-A1CE-00C04FB6C223),
  93. hidden,
  94. nonextensible,
  95. pointer_default(unique),
  96. ]
  97. interface ISWbemPrivateSink : IUnknown
  98. {
  99. [
  100. id(1),
  101. ]
  102. HRESULT OnObjectReady(
  103. [in] /* ISWbemObject */ IDispatch *objObject,
  104. [in] /* ISWbemNamedValueSet */ IDispatch *objAsyncContext
  105. );
  106. [
  107. id(2),
  108. ]
  109. HRESULT OnCompleted (
  110. [in] HRESULT iHResult,
  111. [in] /* ISWbemObject */ IDispatch *objPath,
  112. [in] /* ISWbemObject */ IDispatch *objErrorObject,
  113. [in] /* ISWbemNamedValueSet */ IDispatch *objAsyncContext
  114. );
  115. [
  116. id(3),
  117. ]
  118. HRESULT OnProgress (
  119. [in] long iUpperBound,
  120. [in] long iCurrent,
  121. [in] BSTR strMessage,
  122. [in] /* ISWbemNamedValueSet */ IDispatch *objAsyncContext
  123. );
  124. [
  125. id(4),
  126. ]
  127. HRESULT AddObjectSink (
  128. [in] IUnknown *objWbemSink,
  129. [in] IWbemServices *objServices
  130. );
  131. [
  132. id(5),
  133. ]
  134. HRESULT RemoveObjectSink (
  135. [in] IUnknown *objWbemSink
  136. );
  137. };