Converts a COM SafeArray to an AutoIt array.
_AutoItArrayFromSafeArray($pSafeArray)
| $pSafeArray | Pointer to the SafeArray. |
| Success: | AutoIt array with the same dimensions and data. |
| Failure: | 0 and sets @error: 1 - Invalid SafeArray pointer. 2 - Invalid dimensions or SafeArray access error. 3 - Failed to get lower bound. 4 - Failed to get upper bound. 5 - Invalid dimension size (<= 0). 7 - Too many dimensions (> 5). 8 - SafeArray does not contain VARIANT elements. |