Changeset 285 for Include/OAIdl.ab
- Timestamp:
- Jul 26, 2007, 5:43:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/OAIdl.ab
r268 r285 16 16 #define __IOleAutomationTypes_INTERFACE_DEFINED__ 17 17 18 TypeDef VARTYPE = Word ' WTypes.ab19 TypeDef VARIANT_BOOL = Integer ' WTypes.ab20 Const VARIANT_TRUE = (-1 As VARIANT_BOOL) ' WTypes.ab21 Const VARIANT_FALSE = (0 As VARIANT_BOOL) ' WTypes.ab22 18 TypeDef SCODE = Long 23 TypeDef CY = Int6424 'Type /*Class*/ CY ' WTypes.ab25 'Public26 ' int64 As Int6427 /*28 Function Lo() As DWord29 Return GetDWord(VarPtr(int64))30 End Function31 32 Sub Lo(lo As DWord)33 SetDWord(VarPtr(int64), lo)34 End Sub35 36 Function Hi() As Long37 Return GetDWord(VarPtr(int64) + SizeOf (DWord)) As Long38 End Function39 40 Sub Lo(lo As Long)41 SetDWord(VarPtr(int64) + SizeOf (DWord, lo As DWord))42 End Sub43 */44 'End Type'Class45 46 Const DECIMAL_NEG = (&h80 As Byte) 'WTypes.ab47 48 Type /*Class*/ DECIMAL 'WTypes.ab49 'Public50 wReserved As Word51 signscale As Word52 Hi32 As DWord53 Lo64 As QWord54 /*55 Function scale() As Byte56 Return GetByte(VarPtr(signscale))57 End Function58 59 Sub scale(s As Byte)60 SetByte(VarPtr(signscale), s)61 End Sub62 63 Function sign() As Byte64 Return GetByte(VarPtr(signscale) + SizeOf (Byte))65 End Function66 67 Sub sign(s As Byte)68 SetByte(VarPtr(signscale) + SizeOf (Byte), s)69 End Sub70 71 Function Lo32() As DWord72 Return GetDWord(VarPtr(Lo64) As *DWord)73 End Function74 75 Sub Lo32(l As DWord)76 SetDWord(VarPtr(Lo64) As *DWord, l)77 End Sub78 79 Function Mid32() As DWord80 Return GetDWord(VarPtr(Lo64) As *DWord)81 End Function82 83 Sub Mid32(m As DWord)84 SetDWord(VarPtr(Lo64) As *DWord + SizeOf (DWord), m)85 End Sub86 */87 End Type ' Class88 89 TypeDef DATE = Double ' WTypes.ab90 19 91 20 /* interface IOleAutomationTypes */ … … 157 86 Const FADF_VARIANT = &h800 158 87 Const FADF_RESERVED = &hf008 159 160 Const Enum VARENUM 'WTypes.idl161 VT_EMPTY = 0162 VT_NULL = 1163 VT_I2 = 2164 VT_I4 = 3165 VT_R4 = 4166 VT_R8 = 5167 VT_CY = 6168 VT_DATE = 7169 VT_BSTR = 8170 VT_DISPATCH = 9171 VT_ERROR = 10172 VT_BOOL = 11173 VT_VARIANT = 12174 VT_UNKNOWN = 13175 VT_DECIMAL = 14176 VT_I1 = 16177 VT_UI1 = 17178 VT_UI2 = 18179 VT_UI4 = 19180 VT_I8 = 20181 VT_UI8 = 21182 VT_INT = 22183 VT_UINT = 23184 VT_VOID = 24185 VT_HRESULT = 25186 VT_PTR = 26187 VT_SAFEARRAY = 27188 VT_CARRAY = 28189 VT_USERDEFINED = 29190 VT_LPSTR = 30191 VT_LPWSTR = 31192 VT_RECORD = 36193 VT_INT_PTR = 37194 VT_UINT_PTR = 38195 VT_FILETIME = 64196 VT_BLOB = 65197 VT_STREAM = 66198 VT_STORAGE = 67199 VT_STREAMED_OBJECT = 68200 VT_STORED_OBJECT = 69201 VT_BLOB_OBJECT = 70202 VT_CF = 71203 VT_CLSID = 72204 VT_VERSIONED_STREAM = 73205 VT_BSTR_BLOB = &hfff206 VT_VECTOR = &h1000207 VT_ARRAY = &h2000208 VT_BYREF = &h4000209 VT_RESERVED = &h8000210 VT_ILLEGAL = &hffff211 VT_ILLEGALMASKED = &hfff212 VT_TYPEMASK = &hfff213 End Enum214 88 215 89 Type /*Class*/ VARIANT
Note:
See TracChangeset
for help on using the changeset viewer.