Ejemplo n.º 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;
            }
        }
Ejemplo n.º 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);
            }
        }