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

📄 aaronsziputils.idl

📁 Zlib压缩库的COM接口
💻 IDL
字号:
// AaronsZipUtils.idl : IDL source for AaronsZipUtils.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (AaronsZipUtils.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(389F413F-9FAA-4A5E-83C5-86D52EA00F4F),
		dual,
		helpstring("IZipReader Interface"),
		pointer_default(unique)
	]
	interface IZipReader : IDispatch
	{
		[id(1), helpstring("method Open")] HRESULT Open([in] BSTR fileName);
		[id(2), helpstring("method GetCount")] HRESULT GetCount([out, retval] long* count);
		[id(3), helpstring("method GetFileName")] HRESULT GetFileName([in] long index, [out, retval] BSTR* fileName);
		[id(4), helpstring("method GetFileTime")] HRESULT GetFileLastModified([in] long index, [out, retval] BSTR* lastModified);
		[id(5), helpstring("method GetCompressedSize")] HRESULT GetCompressedSize([in] long index, [out, retval] long* size);
		[id(6), helpstring("method GetUncompressedSize")] HRESULT GetUncompressedSize([in] long index, [out, retval] long* size);
	};

[
	uuid(3D0BB3C9-614C-4979-A95D-4D031DB8DAA0),
	version(1.0),
	helpstring("AaronsZipUtils 1.0 Type Library")
]
library AARONSZIPUTILSLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(A22BDA5A-3938-4B94-9B3B-EAE8FE3B6228),
		helpstring("ZipReader Class")
	]
	coclass ZipReader
	{
		[default] interface IZipReader;
	};
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -