Pass Time entry view item list as IntPtr in c#