Changeset 150 for Include/OAIdl.ab
- Timestamp:
- Mar 11, 2007, 1:11:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/OAIdl.ab
r137 r150 21 21 Const VARIANT_FALSE = (0 As VARIANT_BOOL) ' WTypes.ab 22 22 TypeDef SCODE = Long 23 ClassCY ' WTypes.ab23 Type /*Class*/ CY ' WTypes.ab 24 24 Public 25 25 int64 As Int64 26 26 /* 27 27 Function Lo() As DWord 28 28 Return GetDWord(VarPtr(int64)) … … 40 40 SetDWord(VarPtr(int64) + SizeOf (DWord, lo As DWord)) 41 41 End Sub 42 End Class 43 44 Class DECIMAL ' WTypes.ab 45 Public 42 */ 43 End Type'Class 44 45 Type /*Class*/ DECIMAL ' WTypes.ab 46 'Public 46 47 wReserved As Word 47 48 signscale As Word 48 49 Hi32 As DWord 49 50 Lo64 As QWord 50 51 /* 51 52 Function scale() As Byte 52 53 Return GetByte(VarPtr(signscale)) … … 73 74 End Sub 74 75 75 76 76 Function Mid32() As DWord 77 77 Return GetDWord(VarPtr(Lo64) As *DWord) … … 81 81 SetDWord(VarPtr(Lo64) As *DWord + SizeOf (DWord), m) 82 82 End Sub 83 End Class 83 */ 84 End Type ' Class 84 85 85 86 TypeDef DATE = Double ' WTypes.ab … … 214 215 End Enum 215 216 216 ClassVARIANT217 Type /*Class*/ VARIANT 217 218 Public 218 219 vt As VARTYPE … … 221 222 wReserved3 As Word 222 223 val As QWord 223 224 /* 224 225 Function llVal() As Int64 225 226 Return val As Int64 … … 457 458 val = v As ULONG_PTR 458 459 End Sub 459 /* 460 Function byref() As VoidPtr461 Return val As ULONG_PTR As VoidPtr462 End Function463 464 Sub byref(v As VoidPtr)465 val = v As ULONG_PTR466 End Sub467 */ 460 461 ' Function byref() As VoidPtr 462 ' Return val As ULONG_PTR As VoidPtr 463 ' End Function 464 465 ' Sub byref(v As VoidPtr) 466 ' val = v As ULONG_PTR 467 ' End Sub 468 468 469 Function cVal() As Char 469 470 Return val As Byte As Char … … 597 598 p[0] = v 598 599 End Sub 599 End Class 600 */ 601 End Type 'Class 600 602 601 603 TypeDef LPVARIANT = *VARIANT … … 625 627 End Enum 626 628 627 ClassTYPEDESC628 Private629 Type /*Class*/ TYPEDESC 630 ' Private 629 631 p As VoidPtr 630 632 ' /* [switch_is][switch_type] */ Union … … 634 636 ' /* [default] */ /* Empty union arm */ 635 637 ' End Union 636 Public638 'Public 637 639 vt As VARTYPE 638 640 /* 639 641 Function lptdesc() As *TYPEDESC 640 642 Return p … … 660 662 p = prd 661 663 End Sub 662 End Class 664 */ 665 End Type 'Class 663 666 664 667 Type ARRAYDESC … … 704 707 Const IDLFLAG_FRETVAL = PARAMFLAG_FRETVAL 705 708 706 ClassELEMDESC707 Public709 Type /*Class*/ ELEMDESC 710 'Public 708 711 tdesc As TYPEDESC 709 712 idldesc As IDLDESC 710 713 /* 711 714 Function paramdesc() As PARAMDESC 712 715 Dim p As *PARAMDESC … … 720 723 p[0] = pd 721 724 End Sub 722 End Class 725 */ 726 End Type 'Class 723 727 724 728 Type TYPEATTR … … 828 832 Const IMPLTYPEFLAG_FDEFAULTVTABLE = &h8 829 833 830 ClassVARDESC831 Public834 Type /*Class*/ VARDESC 835 'Public 832 836 memid As MEMBERID 833 837 lpstrSchema As LPOLESTR … … 839 843 wVarFlags As Word 840 844 varkind As VARKIND 841 845 /* 842 846 Function oInst() As DWord 843 847 Return lpvarValue As ULONG_PTR As DWord … … 847 851 lpvarValue = o As ULONG_PTR As *VARIANT 848 852 End Sub 849 End Class 853 */ 854 End Type 'Class 850 855 851 856 TypeDef LPVARDESC = VARDESC
Note:
See TracChangeset
for help on using the changeset viewer.