Moved the Windows version code to dlls/ntdll, and implemented RtlGetVersion and RtlVerifyVersionInfo. Moved the 16-bit and DOS version support to dlls/kernel.
diff --git a/dlls/kernel/process.c b/dlls/kernel/process.c index 272e791..09bc9d1 100644 --- a/dlls/kernel/process.c +++ b/dlls/kernel/process.c
@@ -2074,10 +2074,20 @@ return !status; } + +/**************************************************************************** + * FlushInstructionCache (KERNEL32.@) + */ +BOOL WINAPI FlushInstructionCache(HANDLE hProcess, LPCVOID lpBaseAddress, SIZE_T dwSize) +{ + if (GetVersion() & 0x80000000) return TRUE; /* not NT, always TRUE */ + FIXME("(%p,%p,0x%08lx): stub\n",hProcess, lpBaseAddress, dwSize); + return TRUE; +} + + /****************************************************************** * GetProcessIoCounters (KERNEL32.@) - * - * */ BOOL WINAPI GetProcessIoCounters(HANDLE hProcess, PIO_COUNTERS ioc) {