Beispiel #1
0
        public OpenSearch AddOpenSearch(FileID fileID, List <QueryDirectoryFileInformation> entries, int enumerationLocation)
        {
            OpenSearch openSearch = new OpenSearch(entries, enumerationLocation);

            m_openSearches.Add(fileID.Volatile, openSearch);
            return(openSearch);
        }
Beispiel #2
0
        public ushort?AddOpenSearch(List <QueryDirectoryFileInformation> entries, int enumerationLocation)
        {
            ushort?searchHandle = AllocateSearchHandle();

            if (searchHandle.HasValue)
            {
                OpenSearch openSearch = new OpenSearch(entries, enumerationLocation);
                m_openSearches.Add(searchHandle.Value, openSearch);
            }
            return(searchHandle);
        }