opensave.idl
来自「小巧的IE ATL组件。简单修改即可帮助你实现很多功能。让你的IE更加智能」· IDL 代码 · 共 42 行
IDL
42 行
// OpenSave.idl : IDL source for OpenSave.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (OpenSave.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(C909C68D-CC40-11D2-83B4-444553540000),
dual,
helpstring("IFileHandler Interface"),
pointer_default(unique)
]
interface IFileHandler : IDispatch
{
[id(1), helpstring("method getFilename")] HRESULT getFilename([in] BSTR bstrAction,[in] BSTR defaultName,[in] BSTR defaultExt, [in] BSTR defaultDescription, [out,retval] BSTR *pName);
[id(2), helpstring("method loadFile")] HRESULT loadFile([in] BSTR bstrPath, [out, retval] BSTR *bstrFileText);
[id(3), helpstring("method saveFile")] HRESULT saveFile([in] BSTR bstrPath, [in] BSTR bstrFileText,[out,retval] long *bSuccess);
};
[
uuid(C909C680-CC40-11D2-83B4-444553540000),
version(1.0),
helpstring("OpenSave 1.0 Type Library")
]
library OpenSave
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(C909C68E-CC40-11D2-83B4-444553540000),
helpstring("FileHandler Class")
]
coclass FileHandler
{
[default] interface IFileHandler;
};
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?