regedit: Implement open last key at startup [try 2]

Paul Vriens paul.vriens.wine at gmail.com
Thu Jul 2 02:02:27 CDT 2009


Vladimir Pankratov wrote:
> Hello.
> 
> Open last key at startup.
> 
> Changed files:
> regedit/childwin.c
> 
> Thanks.
> 
> 
> ------------------------------------------------------------------------
> 
> 
Hi Vladimir,

Please use a constant instead of hardcoded 260 as suggested by Andre'.

You also should be using the RegCreate variant of the function as this 
key does not yet exist.

There is no need for the RegCloseKey as you are opening a predefined one.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list