svn path=/trunk/; revision=4141
-/* $Id: stubs.c,v 1.46 2003/02/03 14:20:03 ekohl Exp $
+/* $Id: stubs.c,v 1.47 2003/02/12 03:44:20 ekohl Exp $
*
* KERNEL32.DLL stubs (unimplemented functions)
* Remove from this file, if you implement them.
//#define _OLE2NLS_IN_BUILD_
-BOOL
-STDCALL
-IsProcessorFeaturePresent( DWORD ProcessorFeature )
-{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
-}
-
-
BOOL
STDCALL
BaseAttachCompleteThunk (VOID)
-/* $Id: sysinfo.c,v 1.6 2003/01/15 21:24:35 chorns Exp $
+/* $Id: sysinfo.c,v 1.7 2003/02/12 03:44:20 ekohl Exp $
*
* reactos/lib/kernel32/misc/sysinfo.c
*
}
}
+BOOL STDCALL
+IsProcessorFeaturePresent(DWORD ProcessorFeature)
+{
+ if (ProcessorFeature >= PROCESSOR_FEATURES_MAX)
+ return(FALSE);
+
+ return((BOOL)SharedUserData->ProcessorFeatures[ProcessorFeature]);
+}
/* EOF */