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.

36 lines
1010 B

  1. // adsxml.odl : type library source for adsxml.dll
  2. // This file will be processed by the Make Type Library (mktyplib) tool to
  3. // produce the type library (adsxml.tlb).
  4. #include "adsxml2.h"
  5. [ uuid(ADSXML_LIBIID_XMLOle), version(1.0),
  6. helpstring("Active Directory XML extension") ]
  7. library XMLOle
  8. {
  9. importlib("stdole2.tlb");
  10. [uuid(ADSXML_IID_IADsXML), oleautomation, dual]
  11. interface IADsXML : IDispatch
  12. {
  13. [id(2)]
  14. HRESULT SaveXML(
  15. [in] VARIANT vDest,
  16. [in, defaultvalue(NULL)] BSTR szFilter,
  17. [in, defaultvalue(NULL)] BSTR szAttrs,
  18. [in, defaultvalue(2)] long lScope,
  19. [in, defaultvalue(NULL)] BSTR xslRef,
  20. [in, defaultvalue(0)] long lFlag,
  21. [in, defaultvalue(NULL)] BSTR szOptions,
  22. [in, out, optional] VARIANT *pDirSyncCookie
  23. );
  24. };
  25. enum ADS_XML_ENUM
  26. {
  27. ADS_XML_ACTIVE_DIRECTORY = 0x00000001,
  28. ADS_XML_DSML = 0x00000002,
  29. ADS_XML_SCHEMA = 0x00004000,
  30. };
  31. };