Source code of Windows XP (NT5)
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.

59 lines
1.4 KiB

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