Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: RegOpenFlags 32 64 32-bit 64-bit View Flag Registry Redirection
1. Do I have to set the RegOpenFlags anytime I open a new Registry key or setting it one time at the very top of the program will be enough?
2. If I already used RegOpenFlags, do I need to care about the View-Flag parameter in the Registry Commands?
Thanks so much for any help.
The optional View-Flag parameter in most of the registry functions will 'trump' the RegOpenFlags setting. However, if you do not specify the paramater or you set it to 0 it will use the view indicated by the last call to the RegOpenFlags. The parameter value of 0 can also causes a function to use the WinBatch default 64-bit view, if no call to RegOpenFlags has been made and setting the parameter to 0 is equivalent to omitting the parameter entirely.
Article ID: W17649
Filename: RegOpenFlags and View-Flag Parameters.txt
File Created: 2010:01:13:13:48:18
Last Updated: 2010:01:13:13:48:18