Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allocates memory for a safe array, based on a descriptor created with SafeArrayAllocDescriptor.
Syntax
HRESULT SafeArrayAllocData(
[in] SAFEARRAY *psa
);
Parameters
[in] psa
A safe array descriptor created by SafeArrayAllocDescriptor.
Return value
This function can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
The argument psa is not valid. |
|
The array could not be locked. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | oleauto.h |
| Library | OleAut32.lib |
| DLL | OleAut32.dll |