Beispiel #1
0
        int IComparer.Compare(object a, object b)
        {
            STATURL c1 = (STATURL)a;
            STATURL c2 = (STATURL)b;

            return(CompareFileTime(ref c1.ftLastVisited, ref c2.ftLastVisited));
        }
Beispiel #2
0
 public bool MoveNext()
 {
     staturl = new STATURL();
     enumrator.Next(1, ref staturl, out index);
     if (index == 0)
     {
         return(false);
     }
     else
     {
         return(true);
     }
 }
Beispiel #3
0
 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();
 }
Beispiel #4
0
        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);
            }
        }