Commit a26a6b87 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32: Add a stub for CancelSynchronousIo.

parent ce63546e
@ stdcall CancelIo(long) kernel32.CancelIo @ stdcall CancelIo(long) kernel32.CancelIo
@ stdcall CancelIoEx(long ptr) kernel32.CancelIoEx @ stdcall CancelIoEx(long ptr) kernel32.CancelIoEx
@ stub CancelSynchronousIo @ stdcall CancelSynchronousIo(long) kernel32.CancelSynchronousIo
@ stdcall CreateIoCompletionPort(long long long long) kernel32.CreateIoCompletionPort @ stdcall CreateIoCompletionPort(long long long long) kernel32.CreateIoCompletionPort
@ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr) kernel32.DeviceIoControl @ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr) kernel32.DeviceIoControl
@ stdcall GetOverlappedResult(long ptr ptr long) kernel32.GetOverlappedResult @ stdcall GetOverlappedResult(long ptr ptr long) kernel32.GetOverlappedResult
......
...@@ -686,6 +686,25 @@ BOOL WINAPI CancelIo(HANDLE handle) ...@@ -686,6 +686,25 @@ BOOL WINAPI CancelIo(HANDLE handle)
} }
/*********************************************************************** /***********************************************************************
* CancelSynchronousIo (KERNEL32.@)
*
* Marks pending synchronous I/O operations issued by the specified thread as cancelled
*
* PARAMS
* handle [I] handle to the thread whose I/O operations should be cancelled
*
* RETURNS
* Success: TRUE.
* Failure: FALSE, check GetLastError().
*/
BOOL WINAPI CancelSynchronousIo(HANDLE thread)
{
FIXME("(%p): stub\n", thread);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* _hread (KERNEL32.@) * _hread (KERNEL32.@)
*/ */
LONG WINAPI _hread( HFILE hFile, LPVOID buffer, LONG count) LONG WINAPI _hread( HFILE hFile, LPVOID buffer, LONG count)
......
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
@ stub CancelDeviceWakeupRequest @ stub CancelDeviceWakeupRequest
@ stdcall CancelIo(long) @ stdcall CancelIo(long)
@ stdcall CancelIoEx(long ptr) @ stdcall CancelIoEx(long ptr)
# @ stub CancelSynchronousIo @ stdcall CancelSynchronousIo(long)
# @ stub CancelThreadpoolIo # @ stub CancelThreadpoolIo
@ stdcall CancelTimerQueueTimer(ptr ptr) @ stdcall CancelTimerQueueTimer(ptr ptr)
@ stdcall CancelWaitableTimer(long) @ stdcall CancelWaitableTimer(long)
......
...@@ -1694,6 +1694,7 @@ WINBASEAPI BOOL WINAPI CallNamedPipeW(LPCWSTR,LPVOID,DWORD,LPVOID,DWORD,L ...@@ -1694,6 +1694,7 @@ WINBASEAPI BOOL WINAPI CallNamedPipeW(LPCWSTR,LPVOID,DWORD,LPVOID,DWORD,L
#define CallNamedPipe WINELIB_NAME_AW(CallNamedPipe) #define CallNamedPipe WINELIB_NAME_AW(CallNamedPipe)
WINBASEAPI BOOL WINAPI CancelIo(HANDLE); WINBASEAPI BOOL WINAPI CancelIo(HANDLE);
WINBASEAPI BOOL WINAPI CancelIoEx(HANDLE,LPOVERLAPPED); WINBASEAPI BOOL WINAPI CancelIoEx(HANDLE,LPOVERLAPPED);
WINBASEAPI BOOL WINAPI CancelSynchronousIo(HANDLE);
WINBASEAPI BOOL WINAPI CancelTimerQueueTimer(HANDLE,HANDLE); WINBASEAPI BOOL WINAPI CancelTimerQueueTimer(HANDLE,HANDLE);
WINBASEAPI BOOL WINAPI CancelWaitableTimer(HANDLE); WINBASEAPI BOOL WINAPI CancelWaitableTimer(HANDLE);
WINBASEAPI BOOL WINAPI CheckNameLegalDOS8Dot3A(const char*,char*,DWORD,BOOL*,BOOL*); WINBASEAPI BOOL WINAPI CheckNameLegalDOS8Dot3A(const char*,char*,DWORD,BOOL*,BOOL*);
......
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