Commit 6a1a8bdf authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

kernel32: Import WriteFile from kernelbase.

Console special-case is no longer needed. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 22afbb8f
......@@ -306,17 +306,6 @@ BOOL WINAPI KERNEL32_ReadFile( HANDLE file, LPVOID buffer, DWORD count,
}
/*************************************************************************
* WriteFile (KERNEL32.@)
*/
BOOL WINAPI KERNEL32_WriteFile( HANDLE file, LPCVOID buffer, DWORD count,
LPDWORD result, LPOVERLAPPED overlapped )
{
if (is_console_handle( file )) return WriteConsoleA( file, buffer, count, result, NULL );
return WriteFile( file, buffer, count, result, overlapped );
}
/***********************************************************************
* DosDateTimeToFileTime (KERNEL32.@)
*/
......
......@@ -1630,7 +1630,7 @@
@ stdcall -import WriteConsoleOutputCharacterW(long ptr long long ptr)
@ stdcall -import WriteConsoleOutputW(long ptr long long ptr)
@ stdcall -import WriteConsoleW(long ptr long ptr ptr)
@ stdcall WriteFile(long ptr long ptr ptr) KERNEL32_WriteFile
@ stdcall -import WriteFile(long ptr long ptr ptr)
@ stdcall -import WriteFileEx(long ptr long ptr ptr)
@ stdcall -import WriteFileGather(long ptr long ptr ptr)
@ stdcall WritePrivateProfileSectionA(str str str)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment