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.

65 lines
1.9 KiB

  1. // WMIScriptUtils.idl : IDL source for WMIScriptUtils.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (WMIScriptUtils.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. #include "olectl.h"
  8. [
  9. object,
  10. uuid(F3408C9C-1E88-4DBE-BD71-0303C1E21A72),
  11. dual,
  12. helpstring("IWMIObjectBroker Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface IWMIObjectBroker : IDispatch
  16. {
  17. [id(1), helpstring("method CreateObject")] HRESULT CreateObject([in] BSTR strProgId, [out, retval] IDispatch **obj);
  18. [id(2), helpstring("method CanCreateObject")] HRESULT CanCreateObject([in] BSTR strProgId, [out, retval] VARIANT_BOOL *bResult);
  19. [id(3), helpstring("method SetDevEnvironment")] HRESULT SetDevEnvironment([in] IDispatch *pEnv);
  20. };
  21. [
  22. object,
  23. uuid(B8B2DB7D-68E8-46B0-A08E-AAF46F8B40D4),
  24. dual,
  25. helpstring("IWMIObjectBrokerRegistration Interface"),
  26. pointer_default(unique)
  27. ]
  28. interface IWMIObjectBrokerRegistration : IDispatch
  29. {
  30. [id(1), helpstring("method Register")] HRESULT Register([in] BSTR strProgId, [out, retval] VARIANT_BOOL *bResult);
  31. [id(2), helpstring("method UnRegister")] HRESULT UnRegister([in] BSTR strProgId, [out, retval] VARIANT_BOOL *bResult);
  32. [id(3), helpstring("method SetDevEnvironment")] HRESULT SetDevEnvironment([in] IDispatch *pEnv);
  33. };
  34. [
  35. uuid(94089A9F-400D-4d7a-9699-141DA0931ED0),
  36. version(1.0),
  37. helpstring("WMIScriptUtils 2.0 Type Library")
  38. ]
  39. library WMISCRIPTUTILSLib2
  40. {
  41. importlib("stdole32.tlb");
  42. importlib("stdole2.tlb");
  43. [
  44. uuid(7F5B7F63-F06F-4331-8A26-339E03C0AE3D),
  45. helpstring("WMIObjectBroker Class")
  46. ]
  47. coclass WMIObjectBroker2
  48. {
  49. [default] interface IWMIObjectBroker;
  50. };
  51. [
  52. uuid(789FA835-DFC5-4fa1-BB0F-9E152C19EC60),
  53. helpstring("WMIObjectBrokerRegistration Class")
  54. ]
  55. coclass WMIObjectBrokerRegistration2
  56. {
  57. [default] interface IWMIObjectBrokerRegistration;
  58. };
  59. };