Ignore:
Timestamp:
Dec 31, 2000, 1:28:54 PM (25 years ago)
Author:
sandervl
Message:

implemented ReadFile/WriteFile for COM devices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmcomm.h

    r4588 r4862  
    1 /* $Id: hmcomm.h,v 1.6 2000-11-14 14:26:59 sandervl Exp $ */
     1/* $Id: hmcomm.h,v 1.7 2000-12-31 12:28:54 sandervl Exp $ */
    22
    33/*
     
    8383                                     LPCOMMCONFIG lpCC,
    8484                                     LPDWORD lpdwSize);
     85
     86                           /* this is a handler method for calls to ReadFile() */
     87  virtual BOOL   ReadFile   (PHMHANDLEDATA pHMHandleData,
     88                             LPCVOID       lpBuffer,
     89                             DWORD         nNumberOfBytesToRead,
     90                             LPDWORD       lpNumberOfBytesRead,
     91                             LPOVERLAPPED  lpOverlapped);
     92
     93                        /* this is a handler method for calls to ReadFileEx() */
     94  virtual BOOL  ReadFileEx(PHMHANDLEDATA pHMHandleData,
     95                           LPVOID       lpBuffer,
     96                           DWORD        nNumberOfBytesToRead,
     97                           LPOVERLAPPED lpOverlapped,
     98                           LPOVERLAPPED_COMPLETION_ROUTINE  lpCompletionRoutine);
     99
     100                        /* this is a handler method for calls to WriteFile() */
     101  virtual BOOL   WriteFile  (PHMHANDLEDATA pHMHandleData,
     102                             LPCVOID       lpBuffer,
     103                             DWORD         nNumberOfBytesToWrite,
     104                             LPDWORD       lpNumberOfBytesWritten,
     105                             LPOVERLAPPED  lpOverlapped);
     106
     107                        /* this is a handler method for calls to WriteFileEx() */
     108  virtual BOOL  WriteFileEx(PHMHANDLEDATA pHMHandleData,
     109                            LPVOID       lpBuffer,
     110                            DWORD        nNumberOfBytesToWrite,
     111                            LPOVERLAPPED lpOverlapped,
     112                            LPOVERLAPPED_COMPLETION_ROUTINE  lpCompletionRoutine);
     113
    85114  private:
    86115  APIRET SetLine( PHMHANDLEDATA pHMHandleData,
Note: See TracChangeset for help on using the changeset viewer.