📄 spirogrph.idl
字号:
#include <olectl.h>// SpiroGrph.idl : IDL source for SpiroGrph.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (SpiroGrph.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(616AF36E-D5AA-11D0-B719-00C0A83735D8),
dual,
helpstring("ISpiro Interface"),
pointer_default(unique)
]
interface ISpiro : IDispatch
{
HRESULT Draw( [in] int hDC );
HRESULT SetRadius( [in] int nRadius );
HRESULT SetColor( [in] long color );
};
[
uuid(616AF361-D5AA-11D0-B719-00C0A83735D8),
version(1.0),
helpstring("SpiroGrph 1.0 Type Library")
]
library SPIROGRPHLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(616AF36F-D5AA-11D0-B719-00C0A83735D8),
helpstring("Spiro Class")
]
coclass Spiro
{
[default] interface ISpiro;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -