SafeArrayCreate (OLEAUT32.15)
SAFEARRAY* SafeArrayCreate ( VARTYPE vt, UINT cDims, SAFEARRAYBOUND* rgsabound )
Create a new SafeArray.
vt | [In] | Type to store in the safe array. |
cDims | [In] | Number of array dimensions. |
rgsabound | [In] | Bounds of the array dimensions. |
Success: A pointer to a new array object.
Failure: NULL, if any parameter is invalid or memory allocation fails.
Win32 allows arrays with 0 sized dimensions. This bug is not reproduced in the Wine implementation. See SafeArray.
Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h
Implemented in "dlls/oleaut32/safearray.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/safearray.c
Debug channel "variant".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.