📄 com_test_1_0.idl
字号:
// Generated .IDL file (by the OLE/COM Object Viewer)
//
// typelib filename: com_test_1_0.dll
[
uuid(ACE823EF-2AA8-4293-A729-F451C5004EB2),
version(1.0),
helpstring("com_test 1.0 Type Library")
]
library com_test
{
// TLib : // TLib : MWComUtil 7.0 Type Library : {E97D1011-0AF9-48D8-A5AA-FF5AB971FBDC}
importlib("mwcomutil.dll");
// TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
importlib("STDOLE2.TLB");
// Forward declare all types defined in this typelib
dispinterface _Icom_testclassEvents;
interface Icom_testclass;
[
uuid(FBEEFDC1-DE19-4F86-9BDA-681A390F8F99),
helpstring("_Icom_testclassEvents Interface")
]
dispinterface _Icom_testclassEvents {
properties:
methods:
[id(0x00000001), helpstring("Method event_test")]
HRESULT event_test([in] VARIANT i);
};
[
uuid(D42C18E6-CBBF-4B2B-9696-F9CD816892AC),
helpstring("com_testclass Class")
]
coclass com_testclass {
[default] interface Icom_testclass;
[default, source] dispinterface _Icom_testclassEvents;
};
[
odl,
uuid(EE365135-B390-40B0-AD8D-E901EFEA4B6F),
helpstring("Icom_testclass Interface"),
dual,
oleautomation
]
interface Icom_testclass : IDispatch {
[id(0x00000001), propget, helpstring("property MWFlags")]
HRESULT MWFlags([out, retval] IMWFlags** ppvFlags);
[id(0x00000001), propput, helpstring("property MWFlags")]
HRESULT MWFlags([in] IMWFlags* ppvFlags);
[id(0x00000002), helpstring("Method plot_test")]
HRESULT plot_test();
[id(0x00000003), helpstring("Method property_test")]
HRESULT property_test(
[in] long nargout,
[in, out] VARIANT* result);
[id(0x00000004), propget, helpstring("property A")]
HRESULT A([out, retval] VARIANT* A);
[id(0x00000004), propput, helpstring("property A")]
HRESULT A([in] VARIANT A);
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -