📄 excelexport.idl
字号:
// ExcelExport.idl : IDL source for ExcelExport.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (ExcelExport.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(03948063-804A-4465-A2C5-17BB60290ED3),
dual,
helpstring("ICommand Interface"),
pointer_default(unique)
]
interface ICommand : IDispatch
{
[propget, id(1), helpstring("Name")] HRESULT Name([out, retval] BSTR* pVal);
[propget, id(2), helpstring("Description")] HRESULT Description([out, retval] BSTR* pVal);
[propget, id(3), helpstring("Tip")] HRESULT Tip([out, retval] BSTR* pVal);
[propget, id(4), helpstring("Enable")] HRESULT Enable([out, retval] VARIANT_BOOL* pVal);
[propget, id(5), helpstring("Check")] HRESULT Check([out, retval] VARIANT_BOOL* pVal);
[id(6), helpstring("Export")] HRESULT Export(void);
[propget, id(7), helpstring("Image")] HRESULT Image([out, retval] OLE_HANDLE* pVal);
[propget, id(8), helpstring("Parameter")] HRESULT Parameter([in] LONG ID, [out, retval] VARIANT* pVal);
[propput, id(8), helpstring("Parameter")] HRESULT Parameter([in] LONG ID, [in] VARIANT newVal);
[id(9), helpstring("method Create")] HRESULT Create(LONG param);
[id(10), helpstring("method Destory")] HRESULT Destory();
};
[
object,
uuid(664160D8-7720-4A93-A540-51017225B121),
dual,
helpstring("ICommandSubType Interface"),
pointer_default(unique)
]
interface ICommandSubType : IDispatch
{
[id(1), helpstring("property GetCount")] HRESULT GetCount([out, retval] long *pVal);
[id(2), helpstring("property SetSubType")] HRESULT SetSubType([in] long newVal);
};
[
uuid(5BA81B3D-6C08-4119-B56F-914C6FD07D73),
version(1.0),
helpstring("Rd base interface 1.0 Type Library")
]
library RDINTERFACELib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(6D844BC5-2449-4129-8FA4-E510B0FFCC00),
helpstring("Command Class")
]
coclass Command
{
[default] interface ICommand;
};
[
uuid(CB844620-46D2-4DBC-8395-829D89097A59),
helpstring("CommandSubType Class")
]
coclass CommandSubType
{
[default] interface ICommandSubType;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -