Need help with define(s)

David Fraser davidf at sjsoft.com
Mon Mar 10 00:31:38 CST 2003


Tony Lambregts wrote:

> Following Dan's advice I thought I would try my hand at putting 
> together a regression test for RegSaveKey(A/W). Well I kind of run 
> into a snag with that, actualy a couple of them. The first is that the 
> counterpart for RegSaveKey is a stub. Oh well thats OK. I can still 
> write the test and mark it as todo. No not really. My current problem 
> is as follows:
>
> LONG RegRestoreKey( HKEY /hKey/, LPCTSTR /lpFile/, DWORD /dwFlags/ );
>
> dwFlags can be one of the following constatants
>
> REG_FORCE_RESTORE (This value is not supported.on windows NT)
> REG_NO_LAZY_FLUSH
> REG_REFRESH_HIVE
> REG_WHOLE_HIVE_VOLATILE
>
> Wine does not have these defined anywhere. Does anyone know what they 
> should be and where they should be defined?
>
Not sure about REG_FORCE_RESTORE, but MinGW has the following in winnt.h
#define REG_WHOLE_HIVE_VOLATILE 1
#define REG_REFRESH_HIVE 2
#define REG_NO_LAZY_FLUSH 4

David





More information about the wine-devel mailing list