Reference

SafeArrayCreateVectorEx(3w)

NAME

SafeArrayCreateVectorEx (OLEAUT32.411)

SYNOPSIS

SAFEARRAY* SafeArrayCreateVectorEx
(
VARTYPE vt,
LONG lLbound,
ULONG cElements,
LPVOID pvExtra
)

DESCRIPTION

Create a one dimensional, contiguous SafeArray.

PARAMS

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

lLbound [In] Lower bound of the array.

cElements [In] Number of elements in the array.

pvExtra [In] Extra data.

RETURNS

Success: A pointer to a new array object.

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

NOTES

See SafeArray(3w).

IMPLEMENTATION

Declared in "oleauto.h".

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

Debug channel "variant".

History