Fixed FlushInstructionCache prototype.

This commit is contained in:
Eric Pouech 2002-05-11 22:54:46 +00:00 committed by Alexandre Julliard
parent 47205b823e
commit 218faf39a2
2 changed files with 6 additions and 4 deletions

View File

@ -1491,6 +1491,7 @@ BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW);
HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR);
HRSRC WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR);
#define FindResource WINELIB_NAME_AW(FindResource)
BOOL WINAPI FlushInstructionCache(HANDLE,LPCVOID,DWORD);
BOOL WINAPI FreeLibrary(HMODULE);
#define FreeModule(handle) FreeLibrary(handle)
#define FreeProcInstance(proc) /*nothing*/

View File

@ -149,10 +149,11 @@ BOOL WINAPI QueryPerformanceFrequency(PLARGE_INTEGER frequency)
/****************************************************************************
* FlushInstructionCache (KERNEL32.@)
*/
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);
return TRUE;
BOOL WINAPI FlushInstructionCache(HANDLE hProcess, LPCVOID lpBaseAddress, DWORD dwSize)
{
if (GetVersion() & 0x80000000) return TRUE; /* not NT, always TRUE */
FIXME_(debug)("(0x%08lx,%p,0x%08lx): stub\n",(DWORD)hProcess, lpBaseAddress, dwSize);
return TRUE;
}
/***********************************************************************