diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index 45f2c546b1..4b1c37de1a 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -900,7 +900,7 @@ debug_channels (comm debugstr dll int resource stress thunk toolhelp win32) @ stub WriteConsoleInputVDMW # NT 4.0 additions -@ stub CancelIo +@ stdcall CancelIo(long) CancelIo @ stdcall CancelWaitableTimer(long) CancelWaitableTimer @ stdcall CopyFileExA (str str ptr ptr ptr long) CopyFileExA @ stdcall CopyFileExW (wstr wstr ptr ptr ptr long) CopyFileExW diff --git a/files/file.c b/files/file.c index 4812d892bb..a9cedb320c 100644 --- a/files/file.c +++ b/files/file.c @@ -1237,6 +1237,15 @@ BOOL WINAPI GetOverlappedResult( } +/*********************************************************************** + * CancelIo (KERNEL32.@) + */ +BOOL WINAPI CancelIo(HANDLE handle) +{ + FIXME("(%d) stub\n",handle); + return FALSE; +} + /*********************************************************************** * FILE_AsyncReadService (INTERNAL) * diff --git a/include/winbase.h b/include/winbase.h index 083139c021..eb8172df23 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1243,6 +1243,7 @@ BOOL WINAPI BuildCommDCBW(LPCWSTR,LPDCB); BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS); BOOL WINAPI BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS); #define BuildCommDCBAndTimeouts WINELIB_NAME_AW(BuildCommDCBAndTimeouts) +BOOL WINAPI CancelIo(HANDLE); BOOL WINAPI CancelWaitableTimer(HANDLE); BOOL WINAPI ClearCommBreak(HANDLE); BOOL WINAPI ClearCommError(HANDLE,LPDWORD,LPCOMSTAT);