.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SafeArrayCreate 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSafeArrayCreate\fR (OLEAUT32.15) .SH SYNOPSIS SAFEARRAY* SafeArrayCreate ( VARTYPE \fIvt\fR, UINT \fIcDims\fR, SAFEARRAYBOUND* \fIrgsabound\fR ) .SH DESCRIPTION .PP Create a new SafeArray. .SH PARAMS \fIvt\fR \fB[In]\fR Type to store in the safe array. .PP \fIcDims\fR \fB[In]\fR Number of array dimensions. .PP \fIrgsabound\fR \fB[In]\fR Bounds of the array dimensions. .PP .SH RETURNS .PP \fBSuccess:\fR A pointer to a new array object. .PP \fBFailure:\fR \fBNULL\fR, if any parameter is invalid or memory allocation fails. .SH NOTES .PP Win32 allows arrays with \fB0\fR sized dimensions. This bug is not reproduced in the Wine implementation. See \fBSafeArray(3w)\fR. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/safearray.c"\fR. .PP Debug channel \fB"variant"\fR.