I want to write a key to the registry. I can do this (using a function I've found that some else wrote that utilizes the API) however I need to be able to give the keys that I create a "(Default)" value.
You will need a handle to the key that you are writing to (lngKeyHandle). The second parameter is the name of the key that you are writing . . . by using a null string ("" the data is placed in the default value. This line od code uses REG_SZ, o it is writing a string, but you can write any data type here. strReplacementString is the data that will be written into the key and lngBufferLength is the length of the data . . . hope this helps - Jeff Marler
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.