Exemple #1
0
        private bool EnumResLangs(IntPtr module, IntPtr type, IntPtr name, ushort langId, IntPtr param)
        {
            Resource res;

            if (((int)type) == ResourceType.Version.IntegerValue)
            {
                res = new VersionResource(ResourceNameToString(name), langId);
            }
            else
            {
                res = new Resource(ResourceNameToString(type), ResourceNameToString(name), langId);
            }

            if (!this.Contains(res))
            {
                this.Add(res);
            }

            return(true);
        }
Exemple #2
0
 internal VersionStringTable(VersionResource parent, VersionInfo rawStringVersionInfo)
 {
     this.parent = parent;
     this.rawStringVersionInfo = rawStringVersionInfo;
 }