Thomas Faller tfaller1@gmx.de writes:
+static inline BOOL is_xp_or_older(void) +{
- DWORD version = GetVersion();
- if(version < 0x80000000){
/* compare major */
return (DWORD)(LOBYTE(LOWORD(version))) < 6;
- }
- return TRUE;
+}
Do you actually have an app that depends on such a version check?
No, i don't know an app which needs this. But this special case is noticed in the reg.exe tests, so I decided to implement the version check.
Kind Regards Thomas
Am 03.09.2015 um 10:55 schrieb Alexandre Julliard:
Thomas Faller tfaller1@gmx.de writes:
+static inline BOOL is_xp_or_older(void) +{
- DWORD version = GetVersion();
- if(version < 0x80000000){
/* compare major */
return (DWORD)(LOBYTE(LOWORD(version))) < 6;
- }
- return TRUE;
+}
Do you actually have an app that depends on such a version check?
Thomas Faller tfaller1@gmx.de writes:
No, i don't know an app which needs this. But this special case is noticed in the reg.exe tests, so I decided to implement the version check.
You shouldn't do a version check. Simply implement the new behavior since the old one is already marked as broken.