Scroll to navigation

SafeArrayLock(3w) Wine API SafeArrayLock(3w)

NAME

SafeArrayLock (OLEAUT32.21)

SYNOPSIS

HRESULT SafeArrayLock
(
SAFEARRAY* psa
)
 

DESCRIPTION

Increment the lock counter of a SafeArray.
 

PARAMS

psa [Out] SafeArray to lock.
 

RETURNS

Success: S_OK. The array lock is incremented.
Failure: E_INVALIDARG if psa is NULL, or E_UNEXPECTED if too many locks are held on the array at once.
 

NOTES

In Win32 these locks are not thread safe. See SafeArray(3w).
 

IMPLEMENTATION

Declared in "oleauto.h".
Implemented in "dlls/oleaut32/safearray.c".
Debug channel "variant".
Oct 2012 Wine API