.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SafeArrayAllocDescriptor 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSafeArrayAllocDescriptor\fR (OLEAUT32.36) .SH SYNOPSIS HRESULT SafeArrayAllocDescriptor ( UINT \fIcDims\fR, SAFEARRAY** \fIppsaOut\fR ) .SH DESCRIPTION .PP Allocate and initialise a descriptor for a SafeArray. .SH PARAMS \fIcDims\fR \fB[In]\fR Number of dimensions of the array. .PP \fIppsaOut\fR \fB[Out]\fR Destination for new descriptor. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. \fIppsaOut\fR is filled with a newly allocated descriptor. .PP \fBFailure:\fR An \fBHRESULT\fR error code indicating the error. .SH NOTES .PP 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.