NAME

SafeArrayAllocDescriptorEx  (OLEAUT32.41)

SYNOPSIS

 HRESULT SafeArrayAllocDescriptorEx
 (
  VARTYPE     vt,
  UINT        cDims,
  SAFEARRAY** ppsaOut
 )

DESCRIPTION

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, vt is associated with the array. See SafeArray.

IMPLEMENTATION

Declared in "oleauto.h". https://source.winehq.org/source/include/oleauto.h

Implemented in "dlls/oleaut32/safearray.c". https://source.winehq.org/source/dlls/oleaut32/safearray.c

Debug channel "variant".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.