Function Reference


_SafeArrayGetVartype

Retrieves the VARIANT type of the elements in a SafeArray.

_SafeArrayGetVartype($pSafeArray, ByRef $vType)

Parameters

$pSafeArray Pointer to the SafeArray.
$vType [out] VARIANT type of the SafeArray elements.

Return Value

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

Remarks

Used to verify the type of data stored in the SafeArray.

Related

_SafeArrayCreate, _SafeArrayFromAutoItArray