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.

45 lines
1.2 KiB

  1. // MoveObj.idl : IDL source for MoveObj.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (MoveObj.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(42ADFF00-491E-11D3-8AEE-00A0C9AFE114),
  10. dual,
  11. helpstring("IMover Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IMover : IDispatch
  15. {
  16. [id(1), helpstring("method Connect")] HRESULT Connect(BSTR sourceComp, BSTR targetComp, BSTR srcCredDomain, BSTR srcCredAccount, BSTR srcCredPassword,
  17. BSTR tgtCredDomain, BSTR tgtCredAccount, BSTR tgtCredPassword);
  18. [id(2), helpstring("method Close")] HRESULT Close();
  19. [id(3), helpstring("method MoveObject")] HRESULT MoveObject(BSTR sourcePath, BSTR targetRDN, BSTR targetOuPath);
  20. [id(4), helpstring("method CheckMove")] HRESULT CheckMove(BSTR sourcePath, BSTR targetRDN, BSTR targetOuPath);
  21. };
  22. [
  23. uuid(A679C550-491D-11D3-8AEE-00A0C9AFE114),
  24. version(1.0),
  25. helpstring("MoveObj 1.0 Type Library")
  26. ]
  27. library MOVEOBJLib
  28. {
  29. importlib("stdole32.tlb");
  30. importlib("stdole2.tlb");
  31. [
  32. uuid(42ADFF01-491E-11D3-8AEE-00A0C9AFE114),
  33. helpstring("Mover Class")
  34. ]
  35. coclass Mover
  36. {
  37. [default] interface IMover;
  38. };
  39. };