public bool TryMoveNext(Toolhelp32.Snapshot snap, out Toolhelp32.IEntry entry) { var x = new WinHeap32ListEntry { dwSize = (UIntPtr)Marshal.SizeOf(typeof(WinHeap32ListEntry)) }; var b = Heap32ListNext(snap, ref x); entry = x; return(b); }
public static extern bool Heap32ListNext(Toolhelp32.Snapshot snap, ref WinHeap32ListEntry entry);