int IComparer.Compare(object a, object b) { STATURL c1 = (STATURL)a; STATURL c2 = (STATURL)b; return(CompareFileTime(ref c1.ftLastVisited, ref c2.ftLastVisited)); }
public bool MoveNext() { staturl = new STATURL(); enumrator.Next(1, ref staturl, out index); if (index == 0) { return(false); } else { return(true); } }
public void GetUrlHistory(IList list) { while (true) { staturl = new STATURL(); enumrator.Next(1, ref staturl, out index); if (index == 0) { break; } list.Add(staturl); } enumrator.Reset(); }
public STATURL QueryUrl(string pocsUrl, STATURL_QUERYFLAGS dwFlags) { STATURL lpSTATURL = new STATURL(); try { obj.QueryUrl(pocsUrl, dwFlags, ref lpSTATURL); return(lpSTATURL); } catch (FileNotFoundException) { return(lpSTATURL); } }