Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a26a6b87
Commit
a26a6b87
authored
Oct 12, 2015
by
Austin English
Committed by
Alexandre Julliard
Oct 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add a stub for CancelSynchronousIo.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ce63546e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
2 deletions
+22
-2
api-ms-win-core-io-l1-1-1.spec
.../api-ms-win-core-io-l1-1-1/api-ms-win-core-io-l1-1-1.spec
+1
-1
file.c
dlls/kernel32/file.c
+19
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
winbase.h
include/winbase.h
+1
-0
No files found.
dlls/api-ms-win-core-io-l1-1-1/api-ms-win-core-io-l1-1-1.spec
View file @
a26a6b87
@ stdcall CancelIo(long) kernel32.CancelIo
@ stdcall CancelIoEx(long ptr) kernel32.CancelIoEx
@ st
ub
CancelSynchronousIo
@ st
dcall CancelSynchronousIo(long) kernel32.
CancelSynchronousIo
@ stdcall CreateIoCompletionPort(long long long long) kernel32.CreateIoCompletionPort
@ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr) kernel32.DeviceIoControl
@ stdcall GetOverlappedResult(long ptr ptr long) kernel32.GetOverlappedResult
...
...
dlls/kernel32/file.c
View file @
a26a6b87
...
...
@@ -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.@)
*/
LONG
WINAPI
_hread
(
HFILE
hFile
,
LPVOID
buffer
,
LONG
count
)
...
...
dlls/kernel32/kernel32.spec
View file @
a26a6b87
...
...
@@ -210,7 +210,7 @@
@ stub CancelDeviceWakeupRequest
@ stdcall CancelIo(long)
@ stdcall CancelIoEx(long ptr)
# @ stub CancelSynchronousIo
@ stdcall CancelSynchronousIo(long)
# @ stub CancelThreadpoolIo
@ stdcall CancelTimerQueueTimer(ptr ptr)
@ stdcall CancelWaitableTimer(long)
...
...
include/winbase.h
View file @
a26a6b87
...
...
@@ -1694,6 +1694,7 @@ WINBASEAPI BOOL WINAPI CallNamedPipeW(LPCWSTR,LPVOID,DWORD,LPVOID,DWORD,L
#define CallNamedPipe WINELIB_NAME_AW(CallNamedPipe)
WINBASEAPI
BOOL
WINAPI
CancelIo
(
HANDLE
);
WINBASEAPI
BOOL
WINAPI
CancelIoEx
(
HANDLE
,
LPOVERLAPPED
);
WINBASEAPI
BOOL
WINAPI
CancelSynchronousIo
(
HANDLE
);
WINBASEAPI
BOOL
WINAPI
CancelTimerQueueTimer
(
HANDLE
,
HANDLE
);
WINBASEAPI
BOOL
WINAPI
CancelWaitableTimer
(
HANDLE
);
WINBASEAPI
BOOL
WINAPI
CheckNameLegalDOS8Dot3A
(
const
char
*
,
char
*
,
DWORD
,
BOOL
*
,
BOOL
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment