Ignore:
Timestamp:
Nov 26, 2001, 3:54:03 PM (24 years ago)
Author:
sandervl
Message:

preliminary work on overlapped serial comm IO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/stubs.cpp

    r7318 r7457  
    1 /* $Id: stubs.cpp,v 1.33 2001-11-10 12:47:47 sandervl Exp $
     1/* $Id: stubs.cpp,v 1.34 2001-11-26 14:54:03 sandervl Exp $
    22 *
    33 * Win32 KERNEL32 Subsystem for OS/2
     
    410410
    411411  return (NULL);
    412 }
    413 
    414 /*****************************************************************************
    415  * Name      : BOOL WIN32API CancelIo
    416  * Purpose   : The CancelIO function cancels all pending input and output
    417  *             (I/O) operations that were issued by the calling thread for
    418  *             the specified file handle. The function does not cancel
    419  *             I/O operations issued for the file handle by other threads.
    420  * Parameters: HANDLE hFile   file handle for which to cancel I/O
    421  * Variables :
    422  * Result    : If the function succeeds, the return value is nonzero All pending
    423  *             I/O operations issued by the calling thread for the file handle
    424  *             were successfully canceled.
    425  *             If the function fails, the return value is zero.
    426  *             To get extended error information, call GetLastError.
    427  * Remark    : If there are any I/O operations in progress for the specified
    428  *             file handle, and they were issued by the calling thread, the
    429  *             CancelIO function cancels them.
    430  *             Note that the I/O operations must have been issued as
    431  *             overlapped I/O. If they were not, the I/O operations would not
    432  *             have returned to allow the thread to call the CancelIO function.
    433  *             Calling the CancelIO function with a file handle that was not
    434  *             opened with FILE_FLAG_OVERLAPPED does nothing.
    435  *             All I/O operations that are canceled will complete with the
    436  *             error ERROR_OPERATION_ABORTED. All completion notifications
    437  *             for the I/O operations will occur normally.
    438  * Status    : UNTESTED STUB
    439  *
    440  * Author    : Markus Montkowski [Thu, 1998/05/19 11:46]
    441  *****************************************************************************/
    442 
    443 BOOL WIN32API CancelIo(HANDLE hFile)
    444 {
    445 
    446   dprintf(("KERNEL32:CancelIo(%08x) not implemented\n",
    447            hFile
    448           ));
    449 
    450   return (FALSE);
    451412}
    452413
Note: See TracChangeset for help on using the changeset viewer.