www.pudn.com > popmail.zip > pophandler.idl


// pophandler.idl : IDL source for pophandler.dll 
// 
 
// This file will be processed by the MIDL tool to 
// produce the type library (pophandler.tlb) and marshalling code. 
 
import "oaidl.idl"; 
import "ocidl.idl"; 
	[ 
		object, 
		uuid(56D08409-C44E-4991-84F3-49929EF4C7DE), 
		dual, 
		helpstring("IPOPLevel Interface"), 
		pointer_default(unique) 
	] 
	interface IPOPLevel : IDispatch 
	{ 
		[propget, id(1), helpstring("property Host")] HRESULT Host([out, retval] BSTR *pVal); 
		[propput, id(1), helpstring("property Host")] HRESULT Host([in] BSTR newVal); 
		[propget, id(2), helpstring("property Port")] HRESULT Port([out, retval] long *pVal); 
		[propput, id(2), helpstring("property Port")] HRESULT Port([in] long newVal); 
		[propget, id(3), helpstring("property User")] HRESULT User([out, retval] BSTR *pVal); 
		[propput, id(3), helpstring("property User")] HRESULT User([in] BSTR newVal); 
		[propget, id(4), helpstring("property Password")] HRESULT Password([out, retval] BSTR *pVal); 
		[propput, id(4), helpstring("property Password")] HRESULT Password([in] BSTR newVal); 
		[propget, id(5), helpstring("property Timeout")] HRESULT Timeout([out, retval] long *pVal); 
		[propput, id(5), helpstring("property Timeout")] HRESULT Timeout([in] long newVal); 
		[id(6), helpstring("method Connect")] HRESULT Connect(); 
		[id(7), helpstring("method Disconnect")] HRESULT Disconnect(); 
		[id(8), helpstring("method GetMailCount")] HRESULT GetMailCount(long* a_plCount); 
		[id(9), helpstring("method GetMail")] HRESULT GetMail(long a_lMailNum, long a_lDelete); 
		[propget, id(10), helpstring("property Body")] HRESULT Body([out, retval] BSTR *pVal); 
		[propget, id(11), helpstring("property From")] HRESULT From([out, retval] BSTR *pVal); 
		[propget, id(12), helpstring("property To")] HRESULT To([out, retval] BSTR *pVal); 
		[propget, id(13), helpstring("property CC")] HRESULT CC([out, retval] BSTR *pVal); 
		[propget, id(14), helpstring("property Date")] HRESULT Date([out, retval] BSTR *pVal); 
		[propget, id(15), helpstring("property AttachedFiles")] HRESULT AttachedFiles([out, retval] BSTR* pVal); 
		[propget, id(16), helpstring("property Header")] HRESULT Header([out, retval] BSTR *pVal); 
		[propget, id(17), helpstring("property Subject")] HRESULT Subject([out, retval] BSTR *pVal); 
	}; 
 
[ 
	uuid(6D65CF02-9BCB-42EA-AF15-E987A8ED4D5B), 
	version(1.0), 
	helpstring("pophandler 1.0 Type Library") 
] 
library POPHANDLERLib 
{ 
	importlib("stdole32.tlb"); 
	importlib("stdole2.tlb"); 
 
	[ 
		uuid(141BAA07-E50D-4C74-ACE5-44D1A3D86849), 
		helpstring("POPLevel Class") 
	] 
	coclass POPLevel 
	{ 
		[default] interface IPOPLevel; 
	}; 
};