Reference

SafeArrayUnlock(3w)

NAME

SafeArrayUnlock (OLEAUT32.22)

SYNOPSIS

HRESULT SafeArrayUnlock
(
SAFEARRAY* psa
)

DESCRIPTION

Decrement the lock counter of a SafeArray.

PARAMS

psa [Out] SafeArray to unlock.

RETURNS

Success: S_OK. The array lock is decremented.

Failure: E_INVALIDARG if psa is NULL, or E_UNEXPECTED if no locks are held on the array.

NOTES

See SafeArray(3w).

IMPLEMENTATION

Declared in "oleauto.h".

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

Debug channel "variant".

History