📄 websiteevents.idl
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -