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