windows-nt/Source/XPSP1/NT/admin/admt/common/idl/moveobj.idl

46 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-09-26 03:20:57 -05:00
// MoveObj.idl : IDL source for MoveObj.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (MoveObj.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(42ADFF00-491E-11D3-8AEE-00A0C9AFE114),
dual,
helpstring("IMover Interface"),
pointer_default(unique)
]
interface IMover : IDispatch
{
[id(1), helpstring("method Connect")] HRESULT Connect(BSTR sourceComp, BSTR targetComp, BSTR srcCredDomain, BSTR srcCredAccount, BSTR srcCredPassword,
BSTR tgtCredDomain, BSTR tgtCredAccount, BSTR tgtCredPassword);
[id(2), helpstring("method Close")] HRESULT Close();
[id(3), helpstring("method MoveObject")] HRESULT MoveObject(BSTR sourcePath, BSTR targetRDN, BSTR targetOuPath);
[id(4), helpstring("method CheckMove")] HRESULT CheckMove(BSTR sourcePath, BSTR targetRDN, BSTR targetOuPath);
};
[
uuid(A679C550-491D-11D3-8AEE-00A0C9AFE114),
version(1.0),
helpstring("MoveObj 1.0 Type Library")
]
library MOVEOBJLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(42ADFF01-491E-11D3-8AEE-00A0C9AFE114),
helpstring("Mover Class")
]
coclass Mover
{
[default] interface IMover;
};
};