📄 autotype.odl
字号:
// AutoType.Odl
#ifndef _AUTOTYPE_ODL_
#define _AUTOTYPE_ODL_
#ifndef _WINTYPE_ODL_
#include <WinTypes.Odl>
#endif
// Fake constant BSTR because ODL has no const
#define BCSTR BSTR
// Give Basic names to OLE types
// typedef boolean Boolean;
// typedef BYTE Byte;
typedef short Integer;
// typedef long Long;
typedef float Single;
// typedef double Double;
// typedef LONGLONG Currency;
typedef BSTR String;
// typedef DATE Date;
typedef IDispatch* Object;
// Future compatibility with MIDL, in which boolean is unsigned char
#ifdef __midl
#define Boolean VARIANT_BOOL
#endif
// Defines for SafeArray definitions
#define ArrayByte SAFEARRAY(Byte) *
#define ArrayInteger SAFEARRAY(short) *
#define ArrayLong SAFEARRAY(long) *
#define ArraySingle SAFEARRAY(float) *
#define ArrayDouble SAFEARRAY(double) *
#define ArrayCurrency SAFEARRAY(Currency) *
#define ArrayDate SAFEARRAY(Date) *
//@B ArrayString
#define ArrayString SAFEARRAY(BSTR) *
//@E ArrayString
#define ArrayBoolean SAFEARRAY(Boolean) *
#define ArrayObject SAFEARRAY(IDispatch*) *
#define ArrayVariant SAFEARRAY(Variant) *
#define ParamArray SAFEARRAY(Variant) *
#endif // _AUTOTYPE_ODL_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -