{
PLOADER_PARAMETER_EXTENSION Extension;
/* Get the loader extension */
Extension = LoaderBlock->Extension;
/* Validate the size (larger structures are OK, we'll just ignore them) */if (Extension->Size < sizeof(LOADER_PARAMETER_EXTENSION)) returnFALSE;
/* Don't validate upper versions */if (Extension->MajorVersion > VER_PRODUCTMAJORVERSION) returnTRUE;
/* Fail if this is NT 4 */if (Extension->MajorVersion < VER_PRODUCTMAJORVERSION) returnFALSE;
/* Fail if this is XP */if (Extension->MinorVersion < VER_PRODUCTMINORVERSION) returnFALSE;
/* This is 2003 or newer, approve it */returnTRUE;
}
Generated on Sat May 26 2012 05:07:48 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.