Re: reg: Implement binary data add operation
Thomas Faller <tfaller1(a)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? -- Alexandre Julliard julliard(a)winehq.org
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(a)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(a)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. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Thomas Faller