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?