.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SafeArrayLock 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSafeArrayLock\fR (OLEAUT32.21) .SH SYNOPSIS HRESULT SafeArrayLock ( SAFEARRAY* \fIpsa\fR ) .SH DESCRIPTION .PP Increment the lock counter of a SafeArray. .SH PARAMS \fIpsa\fR \fB[Out]\fR SafeArray to lock. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. The array lock is incremented. .PP \fBFailure:\fR \fBE_INVALIDARG\fR if \fIpsa\fR is \fBNULL\fR, or \fBE_UNEXPECTED\fR if too many locks are held on the array at once. .SH NOTES .PP In Win32 these locks are not thread safe. 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.