Implemented IsProcessorFeaturePresent().

svn path=/trunk/; revision=4141
This commit is contained in:
Eric Kohl 2003-02-12 03:44:20 +00:00
parent 15d50c5fcd
commit 9895df9741
2 changed files with 10 additions and 11 deletions

View file

@ -1,4 +1,4 @@
/* $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.
@ -7,15 +7,6 @@
//#define _OLE2NLS_IN_BUILD_
BOOL
STDCALL
IsProcessorFeaturePresent( DWORD ProcessorFeature )
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
BOOL
STDCALL
BaseAttachCompleteThunk (VOID)

View file

@ -1,4 +1,4 @@
/* $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
*
@ -119,5 +119,13 @@ GetSystemInfo (
}
}
BOOL STDCALL
IsProcessorFeaturePresent(DWORD ProcessorFeature)
{
if (ProcessorFeature >= PROCESSOR_FEATURES_MAX)
return(FALSE);
return((BOOL)SharedUserData->ProcessorFeatures[ProcessorFeature]);
}
/* EOF */