Ejemplo n.º 1
0
 public bool MoveNext()
 {
     _staturl = new STATURL();
     _enumerator.Next(1, ref _staturl, out _index);
     if (_index == 0)
     {
         return(false);
     }
     return(true);
 }
Ejemplo n.º 2
0
 public void GetUrlHistory(IList list)
 {
     while (true)
     {
         _staturl = new STATURL();
         _enumerator.Next(1, ref _staturl, out _index);
         if (_index == 0)
         {
             break;
         }
         list.Add(_staturl);
     }
     _enumerator.Reset();
 }
Ejemplo n.º 3
0
        public STATURL QueryUrl(string pocsUrl, STATURL_QUERYFLAGS dwFlags)
        {
            var lpSTATURL = new STATURL();

            try
            {
                obj.QueryUrl(pocsUrl, dwFlags, ref lpSTATURL);
                return(lpSTATURL);
            }
            catch (FileNotFoundException)
            {
                return(lpSTATURL);
            }
        }