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.

58 lines
2.0 KiB

  1. cpp_quote("/*******************************************************************************/" )
  2. cpp_quote("/* */" )
  3. cpp_quote("/* Copyright � Microsoft Corporation. All rights reserved. */" )
  4. cpp_quote("/* */" )
  5. /* WBEMADS.IDL */
  6. /* */
  7. cpp_quote("/* IDL source for WMI ADSI extension */" )
  8. cpp_quote("/* */" )
  9. cpp_quote("/*******************************************************************************/" )
  10. // This file will be processed by the MIDL tool to
  11. // produce the type library (WMIExtension.tlb) and marshalling code.
  12. import "oaidl.idl";
  13. import "ocidl.idl";
  14. import "wbemdisp.idl";
  15. [
  16. uuid(e503d000-5c7f-11d2-8b74-00104b2afb41),
  17. version(1.0),
  18. helpstring("WMI Extension to DS 1.0 Type Library")
  19. ]
  20. library WMIEXTENSIONLib
  21. {
  22. importlib("stdole32.tlb");
  23. importlib("stdole2.tlb");
  24. interface IWMIExtension;
  25. [
  26. uuid(f0975afe-5c7f-11d2-8b74-00104b2afb41),
  27. helpstring("WMI DS Extension class")
  28. ]
  29. coclass WMIExtension
  30. {
  31. [default] interface IWMIExtension;
  32. };
  33. };
  34. [
  35. object,
  36. uuid(adc1f06e-5c7e-11d2-8b74-00104b2afb41),
  37. dual,
  38. helpstring("WMI extension to the DS Interface"),
  39. pointer_default(unique)
  40. ]
  41. interface IWMIExtension : IDispatch
  42. {
  43. [id(1), propget, helpstring("Path to matching WMI object")]
  44. HRESULT WMIObjectPath([out, retval] BSTR *strWMIObjectPath);
  45. [id(2), helpstring("Retrieves the matching WMI object")]
  46. HRESULT GetWMIObject([out, retval] ISWbemObject **objWMIObject);
  47. [id(3), helpstring("Retrieves the matching WMI services pointer")]
  48. HRESULT GetWMIServices([out, retval] ISWbemServices **objWMIServices);
  49. };