📄 ftpserver.idl
字号:
// Ftpserver.idl : IDL source for Ftpserver.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (Ftpserver.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(3276A40F-D913-471C-BA5D-AD3843C27D31),
dual,
helpstring("Iftpcom Interface"),
pointer_default(unique)
]
interface Iftpcom : IDispatch
{
[propget, id(1), helpstring("property URL")] HRESULT URL([out, retval] BSTR *pVal);
[propput, id(1), helpstring("property URL")] HRESULT URL([in] BSTR newVal);
[propget, id(2), helpstring("property UserName")] HRESULT UserName([out, retval] BSTR *pVal);
[propput, id(2), helpstring("property UserName")] HRESULT UserName([in] BSTR newVal);
[propget, id(3), helpstring("property Password")] HRESULT Password([out, retval] BSTR *pVal);
[propput, id(3), helpstring("property Password")] HRESULT Password([in] BSTR newVal);
[id(12), helpstring("method Disconnect")] HRESULT Disconnect();
[id(13), helpstring("method Connect")] HRESULT Connect([out,retval] VARIANT_BOOL *pRtnVal);
[id(14), helpstring("method UpLoad")] HRESULT UpLoad([in] BSTR bsLocalFile, [in] BSTR bsRemoteFile, [out,retval] VARIANT_BOOL *pRtnVal);
[propget, id(15), helpstring("property Port")] HRESULT Port([out, retval] long *pVal);
[propput, id(15), helpstring("property Port")] HRESULT Port([in] long newVal);
[id(16), helpstring("method DelFile")] HRESULT DelFile([in]BSTR bsRemoteFile, [out,retval] VARIANT_BOOL *pRtnVal);
};
[
uuid(B6481F9F-286B-4DCE-8201-09E761953DFA),
version(1.0),
helpstring("Ftpserver 1.0 Type Library")
]
library FTPSERVERLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(8DF08ED3-16EA-4D46-9B12-18409359A21C),
helpstring("ftpcom Class")
]
coclass ftpcom
{
[default] interface Iftpcom;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -