📄 band.idl
字号:
// band.idl : IDL source for band.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (band.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
[
object,
uuid(159C2E50-9823-11D2-8DDC-D84A1B4ACD4D),
dual,
helpstring("ICHTM Interface"),
pointer_default(unique)
]
interface ICHTM : IDispatch
{
};
[
object, dual,
uuid(159C2E52-9823-11D2-8DDC-D84A1B4ACD4D),
helpstring("ICHTMUI Interface"),
pointer_default(unique)
]
interface ICHTMUI : IDispatch
{
// Example method that will be called by the HTML
HRESULT OnClick([in]IDispatch* pdispBody, [in]VARIANT varColor);
[id(1), helpstring("method OnNag")] HRESULT OnNag(IDispatch* pDisp, BSTR varLnk);
};
[
uuid(159C2E41-9823-11D2-8DDC-D84A1B4ACD4D),
version(1.0),
helpstring("band 1.0 Type Library")
]
library BANDLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(159C2E51-9823-11D2-8DDC-D84A1B4ACD4D),
helpstring("&Morning Band")
]
coclass CHTM
{
[default] interface ICHTM;
interface ICHTMUI;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -