kernel32: Import WriteFile from kernelbase.
Console special-case is no longer needed. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
22afbb8fe7
commit
6a1a8bdf35
|
@ -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.@)
|
* DosDateTimeToFileTime (KERNEL32.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1630,7 +1630,7 @@
|
||||||
@ stdcall -import WriteConsoleOutputCharacterW(long ptr long long ptr)
|
@ stdcall -import WriteConsoleOutputCharacterW(long ptr long long ptr)
|
||||||
@ stdcall -import WriteConsoleOutputW(long ptr long long ptr)
|
@ stdcall -import WriteConsoleOutputW(long ptr long long ptr)
|
||||||
@ stdcall -import WriteConsoleW(long ptr long ptr 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 WriteFileEx(long ptr long ptr ptr)
|
||||||
@ stdcall -import WriteFileGather(long ptr long ptr ptr)
|
@ stdcall -import WriteFileGather(long ptr long ptr ptr)
|
||||||
@ stdcall WritePrivateProfileSectionA(str str str)
|
@ stdcall WritePrivateProfileSectionA(str str str)
|
||||||
|
|
Loading…
Reference in New Issue