private static int EnumVariantNext(UnsafeNativeMethods.IEnumVariant variantEnumerator, NativeMethods.VARIANT variant, int[] fetched) { int result; unsafe { fixed (void* pVariant = &variant.vt) { result = variantEnumerator.Next(1, (IntPtr)pVariant, fetched); } } return result; }