www.pudn.com > Zlib_com.zip > AaronsZipUtils.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; 
	}; 
};