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.

56 lines
2.2 KiB

  1. import "oaidl.idl";
  2. import "ocidl.idl";
  3. [
  4. uuid(5B7256AA-482C-4505-B27E-D780537D4E84),
  5. version(1.0)
  6. ]
  7. library Internal
  8. {
  9. importlib("stdole32.tlb");
  10. importlib("stdole2.tlb");
  11. interface IDomain;
  12. [
  13. object,
  14. uuid(A81B1E01-FF1C-4264-B214-5FE1591DD4A8),
  15. pointer_default(unique)
  16. ]
  17. interface IMigrationInternal : IUnknown
  18. {
  19. [propget] HRESULT TestMigration([out, retval] VARIANT_BOOL* pbTest);
  20. [propget] HRESULT IntraForest([out, retval] VARIANT_BOOL* pbIntraForest);
  21. [propget] HRESULT SourceDomain([out, retval] BSTR* pbstrDomain);
  22. [propget] HRESULT SourceOu([out, retval] BSTR* pbstrOu);
  23. [propget] HRESULT TargetDomain([out, retval] BSTR* pbstrDomain);
  24. [propget] HRESULT TargetOu([out, retval] BSTR* pbstrOu);
  25. [propget] HRESULT RenameOption([out, retval] long* plOption);
  26. [propget] HRESULT RenamePrefixOrSuffix([out, retval] BSTR* pbstrPrefixOrSuffix);
  27. [propget] HRESULT PasswordOption([out, retval] long* plOption);
  28. [propget] HRESULT PasswordServer([out, retval] BSTR* pbstrServer);
  29. [propget] HRESULT PasswordFile([out, retval] BSTR* pbstrPath);
  30. [propget] HRESULT ConflictOptions([out, retval] long* plOptions);
  31. [propget] HRESULT ConflictPrefixOrSuffix([out, retval] BSTR* pbstrPrefixOrSuffix);
  32. [propget] HRESULT UserPropertiesToExclude([out, retval] BSTR* pbstrProperties);
  33. [propget] HRESULT InetOrgPersonPropertiesToExclude([out, retval] BSTR* pbstrProperties);
  34. [propget] HRESULT GroupPropertiesToExclude([out, retval] BSTR* pbstrProperties);
  35. [propget] HRESULT ComputerPropertiesToExclude([out, retval] BSTR* pbstrProperties);
  36. };
  37. [
  38. object,
  39. uuid(3AA8301C-2197-4CBF-ABD0-6BF17F84F70A),
  40. pointer_default(unique)
  41. ]
  42. interface IDomain : IUnknown
  43. {
  44. [propget] HRESULT UpLevel([out, retval] VARIANT_BOOL* pbUpLevel);
  45. [propget] HRESULT NativeMode([out, retval] VARIANT_BOOL* pbNativeMode);
  46. [propget] HRESULT NameDns([out, retval] BSTR* pbstrName);
  47. [propget] HRESULT NameFlat([out, retval] BSTR* pbstrName);
  48. [propget] HRESULT ForestName([out, retval] BSTR* pbstrName);
  49. [propget] HRESULT DomainControllerName([out, retval] BSTR* pbstrName);
  50. HRESULT SetDomain([in] BSTR bstrName);
  51. };
  52. };