Function Reference


_SafeArrayAccessData

Locks a SafeArray and retrieves a pointer to its data.

_SafeArrayAccessData($pSafeArray, ByRef $pArrayData)

Parameters

$pSafeArray Pointer to the SafeArray.
$pArrayData [out] Pointer to the SafeArray's data.

Return Value

Success: 0
Failure: Non-zero HRESULT and sets @error to 1 (DllCall failure).

Remarks

Must be followed by _SafeArrayUnaccessData to unlock the SafeArray.

Related

_SafeArrayUnaccessData, _SafeArrayFromAutoItArray