Added stub for IsProcessorFeaturePresent() to stop LdrGetProcedureAddress from complaining.

svn path=/trunk/; revision=3673
This commit is contained in:
Marty Dill 2002-10-29 04:05:26 +00:00
parent da8792228d
commit c29a543da5
3 changed files with 12 additions and 2 deletions

View file

@ -416,6 +416,7 @@ IsBadWritePtr@8
IsDBCSLeadByte@4 IsDBCSLeadByte@4
IsDBCSLeadByteEx@8 IsDBCSLeadByteEx@8
IsDebuggerPresent@0 IsDebuggerPresent@0
IsProcessorFeaturePresent@4
IsValidCodePage@4 IsValidCodePage@4
IsValidLocale@8 IsValidLocale@8
LCMapStringA@24 LCMapStringA@24

View file

@ -1,4 +1,4 @@
; $Id: kernel32.edf,v 1.14 2002/09/23 19:20:34 sedwards Exp $ ; $Id: kernel32.edf,v 1.15 2002/10/29 04:05:26 mdill Exp $
; ;
; kernel32.edf ; kernel32.edf
; ;
@ -420,6 +420,7 @@ IsBadWritePtr=IsBadWritePtr@8
IsDBCSLeadByte=IsDBCSLeadByte@4 IsDBCSLeadByte=IsDBCSLeadByte@4
IsDBCSLeadByteEx=IsDBCSLeadByteEx@8 IsDBCSLeadByteEx=IsDBCSLeadByteEx@8
IsDebuggerPresent=IsDebuggerPresent@0 IsDebuggerPresent=IsDebuggerPresent@0
IsProcessorFeaturePresent=IsProcessorFeaturePresent@4
IsValidCodePage=IsValidCodePage@4 IsValidCodePage=IsValidCodePage@4
IsValidLocale=IsValidLocale@8 IsValidLocale=IsValidLocale@8
LCMapStringA=LCMapStringA@24 LCMapStringA=LCMapStringA@24

View file

@ -1,4 +1,4 @@
/* $Id: stubs.c,v 1.35 2002/09/30 21:01:32 hbirr Exp $ /* $Id: stubs.c,v 1.36 2002/10/29 04:05:26 mdill Exp $
* *
* KERNEL32.DLL stubs (unimplemented functions) * KERNEL32.DLL stubs (unimplemented functions)
* Remove from this file, if you implement them. * Remove from this file, if you implement them.
@ -6,6 +6,14 @@
#include <windows.h> #include <windows.h>
BOOL
STDCALL
IsProcessorFeaturePresent( DWORD ProcessorFeature )
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
BOOL BOOL
STDCALL STDCALL