CancelSynchronousIo function Null safety kernel32

int CancelSynchronousIo(
  1. int hThread
)

Marks pending synchronous I/O operations that are issued by the specified thread as canceled.

BOOL CancelSynchronousIo(
HANDLE hThread
);

Implementation

int CancelSynchronousIo(int hThread) => _CancelSynchronousIo(hThread);