www.pudn.com > FileMemView.rar > FileMemView.idl


// FileMemView.idl : IDL source for FileMemView.dll 
// 
 
// This file will be processed by the MIDL tool to 
// produce the type library (FileMemView.tlb) and marshalling code. 
 
import "oaidl.idl"; 
import "ocidl.idl"; 
	[ 
		object, 
		uuid(2C92F3F8-EB7F-44FE-925D-68FBA4B449D6), 
		dual, 
		helpstring("IFMemView Interface"), 
		pointer_default(unique) 
	] 
	interface IFMemView : IDispatch 
	{ 
		[id(1), helpstring("method CreateMap")] HRESULT CreateMap([in]BSTR fileName,[in]long bflag, [out,retval]VARIANT_BOOL *pval); 
		[id(2), helpstring("method DetachMapFile")] HRESULT DetachMapFile(); 
		[id(3), helpstring("method GetFileSize")] HRESULT GetFileSize([out,retval]long *nSize); 
		[id(4), helpstring("method WriteLine")] HRESULT WriteLine([in]unsigned char* pAarry); 
		[id(5), helpstring("method ReadLine")] HRESULT ReadLine([in]unsigned char* pAarry); 
		[id(6), helpstring("method RemoveLine")] HRESULT RemoveLine(); 
		[id(7), helpstring("method Read")] HRESULT Read([in]byte* pAarry,[in]long nSize); 
		[id(8), helpstring("method Write")] HRESULT Write([in]byte* pAarry,[in]long nSize); 
		[id(9), helpstring("method Save")] HRESULT Save(); 
		[id(10), helpstring("method RemovelineAt")] HRESULT RemoveLineAt([in]long row); 
	}; 
 
[ 
	uuid(BF519D26-F34D-4DD0-AF63-5DC3C439731A), 
	version(1.0), 
	helpstring("FileMemView 1.0 Type Library") 
] 
library FILEMEMVIEWLib 
{ 
	importlib("stdole32.tlb"); 
	importlib("stdole2.tlb"); 
 
	[ 
		uuid(5F530E7B-50FF-4B74-97D1-88D0E617812A), 
		helpstring("FMemView Class") 
	] 
	coclass FMemView 
	{ 
		[default] interface IFMemView; 
	}; 
};