📄 latestupdates.idl
字号:
// LatestUpdates.idl : IDL source for LatestUpdates
//
// This file will be processed by the MIDL tool to
// produce the type library (LatestUpdates.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(F1DF0AA3-EBF1-4021-90A1-487EB4077DCA),
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(90EA2CA3-D97C-4FC4-B72A-F3EAF624F56B),
version(1.0),
helpstring("LatestUpdates 1.0 Type Library")
]
library LatestUpdatesLib
{
importlib("stdole2.tlb");
[
uuid(39B26FF2-4C23-4A02-8160-7CB1C6FDF845),
helpstring("ArticleEvents Class")
]
coclass ArticleEvents
{
[default] interface IArticleEvents;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -