ActiveX Events IDL for (some but not all) Chilkat Components

SFtp:

	dispinterface _IChilkatSFtpEvents
	{
		properties:
		methods:
		[id(1), helpstring("method PercentDone")] HRESULT PercentDone([in] long pctDone);
		[id(2), helpstring("method AbortCheck")] HRESULT AbortCheck([out] long *abort);
		[id(3), helpstring("method UploadRate")] HRESULT UploadRate([in] long byteCount, [in] long bytesPerSec);
		[id(4), helpstring("method DownloadRate")] HRESULT DownloadRate([in] long byteCount, [in] long bytesPerSec);
	};

Zip:

dispinterface _IChilkatZip2Events
{
	properties:
	methods:
	 HRESULT UnzipPercentDone([in] long percentDone, 
		[out] long *abort);
	 HRESULT WriteZipPercentDone([in] long percentDone, 
		[out] long *abort);
	 HRESULT AddFilesEnd();
	 HRESULT FileUnzipped([in] BSTR filename, 
		[in] long compressedSize, [in] long uncompressedSize, [out] long *abort);
	 HRESULT ToBeAdded([in] BSTR filename, [in] long fileSize, 
		[out] long *exclude);
	 HRESULT FileAdded([in] BSTR filename, [in] long fileSize, [out] long *abort);
	 HRESULT UnzipBegin();
	 HRESULT UnzipEnd();
	 HRESULT WriteZipBegin();
	 HRESULT WriteZipEnd();
	 HRESULT ToBeZipped([in] BSTR filename, [in] long fileSize, 
		[out] long *exclude);
	 HRESULT FileZipped([in] BSTR filename, [in] long fileSize, 
		[in] long compressedSize, [out] long *abort);
	 HRESULT ToBeUnzipped([in] BSTR filename, [in] long compressedSize, 
		[in] long uncompressedSize, [out] long *exclude);
	 HRESULT AddFilesBegin();
};

MailMan:

dispinterface _IChilkatMailEvents
{
	properties:
	methods:
	 HRESULT SendPercentDone([in] long percentDone, [out] long *abort);
	 HRESULT ReadPercentDone([in] long percentDone, [out] long *abort);
	 HRESULT AbortCheck([out] long *abort);
	 HRESULT EmailReceived([in] BSTR subject, [in] BSTR fromAddr, 
		[in] BSTR fromName, [in] BSTR returnPath, [in] BSTR date, 
		[in] BSTR uidl, [in] long sizeInBytes);
};

Ftp2:

dispinterface _IChilkatFtp2Events
{
	properties:
	methods:
	 HRESULT PutProgress([in] long pctDone);
	 HRESULT GetProgress([in] long pctDone);
	 HRESULT AbortCheck([out] long *abort);
	 HRESULT BeginDownloadFile([in] BSTR path, [out] long *skip);
	 HRESULT EndDownloadFile([in] BSTR path, [in] long numBytes);
	 HRESULT VerifyDownloadDir([in] BSTR path, [out] long *skip);
	 HRESULT BeginUploadFile([in] BSTR path, [out] long *skip);
	 HRESULT EndUploadFile([in] BSTR path, [in] long numBytes);
	 HRESULT VerifyUploadDir([in] BSTR path, [out] long *skip);
	 HRESULT VerifyDeleteDir([in] BSTR path, [out] long *skip);
	 HRESULT VerifyDeleteFile([in] BSTR path, [out] long *skip);

};

Imap:

dispinterface _IChilkatImapEvents
{
	properties:
	methods:
	 HRESULT PercentDone([in] long pctDone);
	 HRESULT AbortCheck([out] long *abort);
};

Http:

dispinterface _IChilkatHttpEvents
{
	properties:
	methods:
	 HRESULT PercentDone([in] long pctDone);
	 HRESULT AbortCheck([out] long *abort);
	 HRESULT BeginSend();
	 HRESULT BeginReceive();
	 HRESULT EndSend([in] long success);
	 HRESULT EndReceive([in] long success);
	 HRESULT HttpChunked();
	 HRESULT HttpRedirect([in] BSTR originalUrl, [in] BSTR newUrl, [out] long *abort);
};
Tags :