Windows XP
Вот пример такого значения:
@themeui.dll,-2017
Значений с подобным синтаксисом масса!
Что означает число после запятой? Чем отличается например "-2019", "0", или "37"?
Поковырявшись в нэте нашел кое-какую инфу на аглицком:
(может интересно кому)
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
Вроде как эти строчки проливают свет на эту тайну:
Цитата:
The data for a language-neutral registry value has the format "@<PE-path>,-<stringID>[;<comment>]", where:
- PE-path specifies the path of the executable. You can specify the path using an environment variable, such as %ProgramFiles%, to support deployment. An alternative for making your string reference is to leave out the file path information. In this case, your application must have some means, for example, another registry value, to communicate its own install directory.
- stringID specifies the numeric resource identifier of the relevant string resource, which is implemented just like any other localizable string resource.
|
А также:
Цитата:
If you use the INF file format to create shortcut strings, the resource file should make the following registry settings. These instructions assume the use of the ProfileItems syntax of Setup API.
- Change the InfoTip value to point to the string redirection reference, using the path and resource identifier.
- Add the new value DisplayResource under the ProfileItems installation sections.
The following is an example showing the addition of the Calculator application to the Start menu:
Цитата:
C++
[CalcInstallItems] "Name" = %Calc_DESC%
"CmdLine" = 11, calc.exe
"SubDir" = %Access_GROUP%
"WorkingDir" = 11
"InfoTip" = "@%systemroot%\system32\shell32.dll,-22531"
"DisplayResource" = "%systemroot%\system32\shell32.dll",22019
|
Use the syntax shown below when using INF to add items, for example, an Access Group folder, to the Start menu. This syntax assumes the use of [StartMenuItems] support from Setup, similar to the syntax used in Syssetup.inf.
Цитата:
C++
[StartMenuItems]
<description> = <binary>,<commandline>,<iconfile>,<iconnum>,<infot ip>,<resDLL,resID>
|
Set the value infotip to the string reference "@<path>,-resID".
The display name is determined by the resDLL and resID values. The resID value specifies the resource identifier for a string resource associated with the language-neutral file. The resDLL value specifies the path to the language-neutral file.
|
Вроде как сам немного дружу с английским, но... ничего внятного не получилось!(((
---------- Добавлено в 12:26 ---------- Предыдущее сообщение было написано в 11:45 ----------
И еще:
The specific work involves the following steps:
- Implement the friendly name and InfoTip strings as language-specific string resources.
- Add the FriendlyTypeName value under the document type registry key. The data for the value follows the pattern "@<path>,-<resID>", where path indicates the executable and resID is the resource identifier of a localizable string resource associated with that executable.
- Specify the InfoTip registry value according to the format "@<path>,-<resID>".
The following example shows the registry settings for a .txt file:
Цитата:
C++
HKCR\.txt
@="txtfile"
"Content Type"="text/plain"
HKCR\txtfile
@="Text Document"
"FriendlyTypeName" = "@%systemroot%\system32\shell32.dll,-12345"
"InfoTip" = "@%systemroot%\system32\shell32.dll,-12346"
|