public bool MoveNext() { _staturl = new STATURL(); _enumerator.Next(1, ref _staturl, out _index); if (_index == 0) { return(false); } return(true); }
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(); }
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); } }