SafeArrayLock.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "oleauto.h".

Implemented in "dlls/oleaut32/safearray.c".

Debug channel "variant".