websiteevents.idl

来自「Visual_C++[1].NET_Bible1 Visual_C++宝典书中」· IDL 代码 · 共 38 行

IDL
38
字号
// WebSiteEvents.idl : IDL source for WebSiteEvents
//

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

import "oaidl.idl";
import "ocidl.idl";

[
	object,
	uuid(08C00CEF-6AAF-4798-9953-AAB1D1F4B999),
	dual,
	nonextensible,
	helpstring("IArticleEvents Interface"),
	pointer_default(unique)
]
interface IArticleEvents : IDispatch{
  [id(1), helpstring("method NewArticle")] HRESULT NewArticle([in] BSTR* pbstrAuthor, [in] BSTR* pbstrTitle, [in] BSTR* pbstrUrl, [in] SHORT sCategory);
};
[
	uuid(0B8D784E-A53B-43A3-9191-13482047D58B),
	version(1.0),
	helpstring("WebSiteEvents 1.0 Type Library")
]
library WebSiteEventsLib
{
	importlib("stdole2.tlb");
	[
		uuid(2B97227D-3B88-4961-ABF6-F5790CEAD68C),
		helpstring("ArticleEvents Class")
	]
	coclass ArticleEvents
	{
		[default] interface IArticleEvents;
	};
};

⌨️ 快捷键说明

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