Quiet FlushInstructionCache for non-NT systems where it does nothing

per MSDN.
This commit is contained in:
Guy Albertelli 2001-09-11 00:26:46 +00:00 committed by Alexandre Julliard
parent aad36bcd59
commit f80cf43270
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ BOOL WINAPI QueryPerformanceFrequency(PLARGE_INTEGER frequency)
* FlushInstructionCache (KERNEL32.@) * FlushInstructionCache (KERNEL32.@)
*/ */
BOOL WINAPI FlushInstructionCache(DWORD x,DWORD y,DWORD z) { BOOL WINAPI FlushInstructionCache(DWORD x,DWORD y,DWORD z) {
if (GetVersion() & 0x80000000) return TRUE; /* not NT, always TRUE */
FIXME_(debug)("(0x%08lx,0x%08lx,0x%08lx): stub\n",x,y,z); FIXME_(debug)("(0x%08lx,0x%08lx,0x%08lx): stub\n",x,y,z);
return TRUE; return TRUE;
} }