{
switch(GetVersion() & 0x8000ffff) /* mask off build number */
{
case 0x80000a03: /* WIN31 */returnMAKELONG(0xffff, 20);
case 0x00003303: /* NT351 */returnMAKELONG(0xffff, 30);
case 0x80000004: /* WIN95; I'd like to use the "standard" w95 minor version here (30), but as we still use w95 as default winver (which is good IMHO), I better play safe and use the latest value for w95 for now. Change this as soon as default winver gets changed to something more recent */case 0x80000a04: /* WIN98 */case 0x00000004: /* NT40 */case 0x00000005: /* W2K */case 0x00000105: /* WinXP */returnMAKELONG(0xffff, 40);
default:
FIXME("Version value not known yet. Please investigate it !\n");
returnMAKELONG(0xffff, 40); /* for now return the same value as for w2k */
}
}
Generated on Mon May 28 2012 05:16:22 for ReactOS by
1.7.6.1
ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.