Reference

SafeArrayAllocDescriptor(3w)

NAME

SafeArrayAllocDescriptor (OLEAUT32.36)

SYNOPSIS

HRESULT SafeArrayAllocDescriptor
(
UINT cDims,
SAFEARRAY** ppsaOut
)

DESCRIPTION

Allocate and initialise a descriptor for a SafeArray.

PARAMS

cDims [In] Number of dimensions of the array.

ppsaOut [Out] Destination for new descriptor.

RETURNS

Success: S_OK. ppsaOut is filled with a newly allocated descriptor.

Failure: An HRESULT error code indicating the error.

NOTES

See SafeArray(3w).

IMPLEMENTATION

Declared in "oleauto.h".

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

Debug channel "variant".

History