SafeArrayCreate.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SafeArrayCreate (OLEAUT32.15)

SYNOPSIS

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

DESCRIPTION

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

Defined in "oleauto.h".

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

Debug channel "variant".