Re: [PATCH v2 0/4] MR47: kernel32/tests: Add tests for CancelSynchronousIo.
11 Jul
2022
11 Jul
'22
10:14 a.m.
Jinoh Kang (@iamahuman) commented about dlls/kernelbase/file.c:
*/ BOOL WINAPI DECLSPEC_HOTPATCH CancelSynchronousIo( HANDLE thread ) { - FIXME( "(%p): stub\n", thread ); - SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); - return FALSE; + IO_STATUS_BLOCK io; + + return set_ntstatus( NtCancelSynchronousIoFile( thread, NULL, &io ) ); Per Wine code style, you should omit the second space in `&io ) )`.
```suggestion:-0+0 return set_ntstatus( NtCancelSynchronousIoFile( thread, NULL, &io )); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/47#note_3876
1250
Age (days ago)
1250
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jinoh Kang (@iamahuman)