github.com/hspan/go-ole@v0.0.0/safearray.go (about) 1 // Package is meant to retrieve and process safe array data returned from COM. 2 3 package ole 4 5 // SafeArrayBound defines the SafeArray boundaries. 6 type SafeArrayBound struct { 7 Elements uint32 8 LowerBound int32 9 } 10 11 // SafeArray is how COM handles arrays. 12 type SafeArray struct { 13 Dimensions uint16 14 FeaturesFlag uint16 15 ElementsSize uint32 16 LocksAmount uint32 17 Data uint32 18 Bounds [16]byte 19 } 20 21 // SAFEARRAY is obsolete, exists for backwards compatibility. 22 // Use SafeArray 23 type SAFEARRAY SafeArray 24 25 // SAFEARRAYBOUND is obsolete, exists for backwards compatibility. 26 // Use SafeArrayBound 27 type SAFEARRAYBOUND SafeArrayBound