📄 dualfocus.idl
字号:
// DualFocus.idl : IDL source for DualFocus.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (DualFocus.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(5C571320-597D-473E-81CD-D8CD6DE3186D),
dual,
helpstring("Focuser Driver for Dual Focus"),
pointer_default(unique)
]
interface IFocuser : IDispatch
{
[propget, id(1), helpstring("property Absolute")] HRESULT Absolute([out, retval] VARIANT_BOOL *pVal);
[id(2), helpstring("method Halt")] HRESULT Halt();
[propget, id(3), helpstring("property IsMoving")] HRESULT IsMoving([out, retval] VARIANT_BOOL *pVal);
[propget, id(4), helpstring("property Link")] HRESULT Link([out, retval] VARIANT_BOOL *pVal);
[propput, id(4), helpstring("property Link")] HRESULT Link([in] VARIANT_BOOL newVal);
[propget, id(5), helpstring("property MaxIncrement")] HRESULT MaxIncrement([out, retval] long *pVal);
[propget, id(6), helpstring("property MaxStep")] HRESULT MaxStep([out, retval] long *pVal);
[id(7), helpstring("method Move")] HRESULT Move(long Position);
[propget, id(8), helpstring("property Position")] HRESULT Position([out, retval] long *pVal);
[id(9), helpstring("method SetupDialog")] HRESULT SetupDialog();
[propget, id(10), helpstring("property StepSize")] HRESULT StepSize([out, retval] float *pVal);
[propget, id(11), helpstring("property TempComp")] HRESULT TempComp([out, retval] VARIANT_BOOL *pVal);
[propput, id(11), helpstring("property TempComp")] HRESULT TempComp([in] VARIANT_BOOL newVal);
[propget, id(12), helpstring("property TempCompAvailable")] HRESULT TempCompAvailable([out, retval] VARIANT_BOOL *pVal);
[propget, id(13), helpstring("property Temperature")] HRESULT Temperature([out, retval] float *pVal);
};
[
uuid(15D198B2-22CA-4A2D-899B-4FCC86765B7F),
version(1.0),
helpstring("Focuser Driver for Dual Focus")
]
library DualFocus
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(D797C01F-3530-4842-8FC5-73AE4EB3A003),
helpstring("Focuser Driver for Dual Focus")
]
coclass Focuser
{
[default] interface IFocuser;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -