SafeArrayCreate(3w)

SafeArrayCreate3w

Usage

SAFEARRAY* SafeArrayCreate
(
VARTYPE vt,
UINT cDims,
SAFEARRAYBOUND* rgsabound
)

Overview

Create a new SafeArray.

Params

vt [In] Type to store in the safe array.

cDims [In] Number of array dimensions.

rgsabound [In] Bounds of the array dimensions.

Returns

Success: A pointer to a new array object.

Failure: NULL, if any parameter is invalid or memory allocation fails.

Notes

Win32 allows arrays with 0 sized dimensions. This bug is not reproduced in the Wine implementation. See SafeArray(3w).

Implementation

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/safearray.c".

Debug channel "variant".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.