コード例 #1
0
        public ISymbolSearchInfo[] GetSymbolSearchInfo()
        {
            int count;

            ((ISymUnmanagedReaderSymbolSearchInfo)unmanagedReader).GetSymbolSearchInfo(0, out count, null);
            ISymUnmanagedSymbolSearchInfo[] unmanagedSearchInfo = new ISymUnmanagedSymbolSearchInfo[count];
            ((ISymUnmanagedReaderSymbolSearchInfo)unmanagedReader).GetSymbolSearchInfo(count, out count, unmanagedSearchInfo);

            ISymbolSearchInfo[] searchInfo = new ISymbolSearchInfo[count];

            uint i;

            for (i = 0; i < count; i++)
            {
                searchInfo[i] = new SymbolSearchInfo(unmanagedSearchInfo[i]);
            }
            return(searchInfo);
        }
コード例 #2
0
ファイル: SymbolReader.cs プロジェクト: modulexcite/FieldLog
        public ISymbolSearchInfo[] GetSymbolSearchInfo()
        {
            int count;
            ((ISymUnmanagedReaderSymbolSearchInfo)unmanagedReader).GetSymbolSearchInfo(0, out count, null);
            ISymUnmanagedSymbolSearchInfo[] unmanagedSearchInfo = new ISymUnmanagedSymbolSearchInfo[count];
            ((ISymUnmanagedReaderSymbolSearchInfo)unmanagedReader).GetSymbolSearchInfo(count, out count, unmanagedSearchInfo);

            ISymbolSearchInfo[] searchInfo = new ISymbolSearchInfo[count];

            uint i;
            for (i = 0; i < count; i++)
            {
                searchInfo[i] = new SymbolSearchInfo(unmanagedSearchInfo[i]);
            }
            return searchInfo;
        }