* @throws WindowsException
*/
private void setInfo() throws WindowsException {
try {
processInfo = new String[count];
IJIComObject comObj = variant.getObjectAsComObject();
// todo is this needed?
comObj.registerUnreferencedHandler(new IJIUnreferenced() {
public void unReferenced() {
}
});
IJIEnumVariant enumVARIANT =
(IJIEnumVariant) JIObjectFactory.narrowObject(comObj.queryInterface(IJIEnumVariant.IID));
for (int i = 0; i < count; i++) {
Object[] values = enumVARIANT.next(1);
JIArray array = (JIArray) values[0];
Object[] arrayObj = (Object[]) array.getArrayInstance();