SafeArrayAllocDescriptorEx3w
Usage
HRESULT SafeArrayAllocDescriptorEx
(
VARTYPE vt,
UINT cDims,
SAFEARRAY** ppsaOut
)
Overview
Allocate and initialise a descriptor for a SafeArray of a given type.
Params
vt [In] The type of items to store in the array.
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
- This function does not check that vt is an allowed VARTYPE.
- Unlike SafeArrayAllocDescriptor(3w), vt is associated with the array. 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.