⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 opensave.idl

📁 小巧的IE ATL组件。简单修改即可帮助你实现很多功能。让你的IE更加智能
💻 IDL
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -