46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
// 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;
|
|
};
|
|
};
|