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?
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
David Fraser wrote:
Tony Lambregts wrote:
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
OK. What include file should they be in?
Tony Lambregts wrote:
David Fraser wrote:
Tony Lambregts wrote:
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
OK. What include file should they be in?
I presume WINNT.H as that's where they are in MSVC, mingw and cygwin. David