SAFEARRAY FAR* psa Increments the lock count of an array and places a pointer to the array data in pvData of the array descriptor. Parameters psa Pointer to an array descriptor created by SafeArrayCreate. Comments The pointer in the array descriptor is valid until SafeArrayUnlock is called. Calls to SafeArrayLock can be nested; an equal number of calls to SafeArrayUnlock are required. An array can't be deleted while it is locked. Return Value The SCODE obtained from the returned HRESULT is one of the following:
||The argument psa was not a valid safe array descriptor.
||The array could not be locked.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages