예제 #1
0
        public ImageImportDll GetDll(int index)
        {
            if (_descriptorTable == null)
                return null;

            if (index < _count)
            {
                if (_dlls[index] == null)
                    _dlls[index] = new ImageImportDll(_mappedImage, &_descriptorTable[index]);

                return _dlls[index];
            }
            else
            {
                return null;
            }
        }
예제 #2
0
        public ImageImportDll GetDll(int index)
        {
            if (_descriptorTable == null)
            {
                return(null);
            }

            if (index < _count)
            {
                if (_dlls[index] == null)
                {
                    _dlls[index] = new ImageImportDll(_mappedImage, &_descriptorTable[index]);
                }

                return(_dlls[index]);
            }
            else
            {
                return(null);
            }
        }