public static int GetHeight(IntPtr instance)
{
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
return (int)NativeMethods.X64.ConnectedComponent_GetHeight(instance);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
return (int)NativeMethods.X86.ConnectedComponent_GetHeight(instance);
#endif
}
public static IntPtr GetInstance(IntPtr list, int index)