Sulfurious Posted September 11, 2006 Posted September 11, 2006 Greetings.In a nutshell, a registry value can be one of the following types, as seen in a .reg file"string" = REG_SZdword = REG_DWORDhex = REG_BINARYhex 2 = REG_EXPAND_SZhex 7 = REG_MULTI_SZhex 8 = REG_RESOURCE_LISThex 9 = REG_FULL_RESOURCE_DESCRIPTORhex A = REG_RESOURCE_REQUIREMENTS_LISThex B = REG_QWORDObscurely there is also hex 1 = REG_SZ. This comes into play if you have CR or LF within the REG_SZ value. If you had a .reg entry of"value1"=hex(1):string value in hexadecimal here and merged it into the registry, the REG_SZ value could have CR & LF characters within. I am looking for a way to include this type of REG_SZ into an INF file. 0x00000000 is the flag for a REG_SZ. I have tried many different flags, but have failed to find the correct one. Is there anyone who has ever seen this and knows the correct flag value?Thanks a million to anyone who has,Sul.
Delprat Posted September 12, 2006 Posted September 12, 2006 I bet the millionth of a dollar i just earn there that you can set it as a REG_BINARY or REG_NONE (or maybe REG_MULTI_SZ for first line and REG_MULTI_SZ_APPEND for others) and the windows API will not see the difference (i mean it will be readable as a string depending how strong is the code).Is it a theorical or practical question ?++
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now