How to read a registry resource string, for example. "@ File name, resource"?

I have a registry entry for example. LocalizedString=@ %programfiles%\Internet Explorer\iexplore.exe,-702
Is there a well-known API for retrieving a path and string different from individual analysis (and using LoadString )?

And then I have a defult value, for example. (default)="%programfiles%\Internet Explorer\iexplore.exe" (including double quotes, but without @ );

How does Windows handle this stuff?

+4
source share
1 answer

The required API function is called RegLoadMUIStringW . This is the Vista API, so if you want to support XP, you need to manually analyze the registry entry.

Refresh . Actually, SHLoadIndirectString looks like it could be your XP savior.

+7
source

Source: https://habr.com/ru/post/1403146/


All Articles