HRESULT SafeArrayUnlock(
SAFEARRAY FAR* psa
);
Decrements the lock count of an array so it can be freed or resized.
The return value obtained from the returned HRESULT is one of the following.
Return value | Meaning |
---|---|
S_OK | Success. |
E_INVALIDARG | The argument psa was not a valid safe array descriptor. |
E_UNEXPECTED | The array could not be unlocked. |
This function is called after access to the data in an array is finished.
Windows NT: Use version 3.1 and later.
Windows: Use Windows 95 and later.
Header: Declared in oleauto.h.
Import Library: Link with oleaut32.lib.