Retrieving a variant type of an array with SafeArrayGetVartype