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

📄 email.idl

📁 网页上mail组件
💻 IDL
字号:
// EMail.idl : IDL source for EMail.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(DE3AA0B0-824E-434F-80B1-FC84830DCF50),
		dual,
		helpstring("ISender Interface"),
		pointer_default(unique)
	]
	interface ISender : IDispatch
	{
		[id(1), helpstring("method SetSMTP")] HRESULT SetSMTP([in]BSTR i_bsSmtp);
		[id(2), helpstring("method From")] HRESULT From([in]BSTR i_bsFrom);
		[id(3), helpstring("method To")] HRESULT To([in]BSTR i_bsTo);
		[id(4), helpstring("method Send")] HRESULT Send([in]BSTR i_bsSubject,[in]BSTR i_bsContent);
		[id(5), helpstring("method AddAttachment")] HRESULT AddAttachment([in]BSTR i_bsAttachmentPath);
	};

[
	uuid(F19C32E8-F1BE-4E65-96AD-30233DB473EA),
	version(1.0),
	helpstring("EMail 1.0 Type Library")
]
library EMAILLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(AA2CD536-7EF0-478E-9670-90A14EBF43C6),
		helpstring("Sender Class")
	]
	coclass Sender
	{
		[default] interface ISender;
	};
};

⌨️ 快捷键说明

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