C language function:CancelSynchronousIo sample codes

Search sample code in the internet.It is the result.


TITLE : #7353 (Make system IO interruptible on Windows) GHC
* maybe foreign import ccall interruptible will work for the FFI calls in the network package. It causes CancelSynchronousIo() to be called when the thread is the target of an exception, but I have no idea whether this will actually work to interrupt the operation or not........
http://ghc.haskell.org/trac/ghc/ticket/7353


TITLE : WinApi
ti BOOL CancelSynchronousIo(_In_ HANDLE hThread).......
http://hotkeyit.github.io/v2/docs/commands/WinApi.htm
TITLE : CancelSynchronousIo function (Windows)
BOOL WINAPI CancelSynchronousIo(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363794(v=vs.85).aspx
TITLE : Canceling Pending I/O Operations (Windows)
CancelSynchronousIo(syncThread);.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa363789(v=vs.85).aspx
TITLE : windows - Does CancelSynchronousIo work with WNetAddConnection2? - Stack Overflow
ok = CancelSynchronousIo(hThread);.......
http://stackoverflow.com/questions/9475581/does-cancelsynchronousio-work-with-wnetaddconnection2
TITLE : The Windows cancelling the pending synchronous I/O and alertable I/O
CancelSynchronousIo(syncThread);.......
http://www.installsetupconfig.com/win32programming/windowsfileapis4_15.html
TITLE : Windows via C/C++: Synchronous and Asynchronous Device I/O | Microsoft Press Store
BOOL CancelSynchronousIo(HANDLE hThread);.......
http://www.microsoftpressstore.com/articles/article.aspx@p=2224047&seqNum=3
search Google

https://www.google.com/#q=CancelSynchronousIo