SafeArrayCreateVector function oleaut32

Pointer<SAFEARRAY> SafeArrayCreateVector(
  1. VARENUM vt,
  2. int lLbound,
  3. int cElements
)

Creates a one-dimensional array.

A safe array created with SafeArrayCreateVector is a fixed size, so the constant FADF_FIXEDSIZE is always set.

To learn more, see learn.microsoft.com/windows/win32/api/oleauto/nf-oleauto-safearraycreatevector.

Implementation

@pragma('vm:prefer-inline')
Pointer<SAFEARRAY> SafeArrayCreateVector(
  VARENUM vt,
  int lLbound,
  int cElements,
) => _SafeArrayCreateVector(vt, lLbound, cElements);