Marks pending synchronous I/O operations that are issued by the specified thread as canceled.
BOOL WINAPI CancelSynchronousIo( _In_ HANDLE hThread );
https://docs.microsoft.com/zh-cn/windows/win32/fileio/cancelsynchronousio-func