DSAFEARRAY.SAFEARRAYmethod
Represents a safe array.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Description
Represents a safe array.
Remarks
The array rgsabound is stored with the left-most dimension in rgsabound[0] and the right-most dimension in rgsabound(cDims - 1).
The fFeatures flags describe attributes of an array that can affect how the array is released. The fFeatures field describes what type of data is stored in the SAFEARRAY and how the array is allocated. This allows freeing the array without referencing its containing variant. The bits are accessed using the following constants:
Example
TYPE tagSAFEARRAY cDims as USHORT fFeatures as USHORT cbElements as ULONG cLocks as ULONG pvData as PVOID rgsabound(0 to 0) as SAFEARRAYBOUND EBD TYPE
Reference
- Include file
DSafeArray.inc - Documented in COM/DSAFEARRAY Class.md
- Topic: DSAFEARRAY Class