请问如何遍历存放在 IntPtr 中的结构体数组//结构体
public struct _tagFileInfo
{
   [MarshalAs(UnmanagedType.ByValTStr, SizeConst=512)] 
   public string m_szFileName;
   public ulong m_ulFileSize;
};int nSize = Marshal.SizeOf(fileInfo);int num = FTKernelAPI.FTK_Torrent_GetFilesCount(htorrentFile);IntPtr pFileInfo = MarshalExt.AllocHGlobal(nSize * num);Marshal.StructureToPtr(fileInfo, pFileInfo, false);//以下方法返回一个结构体数组在pFileInfo中MyClass.GetFiles(htorrentFile, pFileInfo);//遍历代码.......MarshalExt.FreeHGlobal(pFileInfo);请问,如何遍历pFileInfo????