Skip to content

Commit cbface4

Browse files
committed
Update stdRefArray.cls
See sancarn#145
1 parent 54808a9 commit cbface4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/stdRefArray.cls

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ Private Const VT_BYREF As Long = &H4000
4848
'The data within the array
4949
Public Data As Variant
5050

51+
Property Get GetData() as Variant
52+
Attribute GetData.VB_UserMemId = 0
53+
#If Win64 Then
54+
Call CopyMemory(GetData, data, 24)
55+
#Else
56+
Call CopyMemory(GetData, data, 16)
57+
#End If
58+
End Property
5159

5260
'@constructor
5361
'@param Data - Array to wrap

0 commit comments

Comments
 (0)