Ignore:
Timestamp:
Dec 5, 2001, 3:16:38 PM (24 years ago)
Author:
sandervl
Message:

preliminary changes for new overlapped io framework

File:
1 edited

Legend:

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

    r7499 r7549  
    1 /* $Id: hmcomm.h,v 1.11 2001-11-30 13:52:32 sandervl Exp $ */
     1/* $Id: hmcomm.h,v 1.12 2001-12-05 14:15:59 sandervl Exp $ */
    22
    33/*
     
    9090  DWORD dwInBuffer, dwOutBuffer;
    9191  DWORD dwEventMask;
    92   //overlapped IO info
    93   HANDLE     hThread;
    94   HANDLE     hEventSem;
    9592  OVERLAPPED overlapped;
    96   DWORD      dwLastError;
    97   DWORD     *lpfdwEvtMask;
    98   BOOL       fClosing;
    99   BOOL       fCancelIo;
     93  DWORD *lpfdwEvtMask;
     94  BOOL fCancelIo;
     95  DWORD dwLastError;
    10096  //OS/2 Device Control Block
    10197  DCBINFO dcbOS2;
     
    130126
    131127  /* this is the handler method for calls to CreateFile() */
    132   virtual DWORD  CreateFile (HANDLE        hHandle,
    133                              LPCSTR        lpFileName,
     128  virtual DWORD  CreateFile (LPCSTR        lpFileName,
    134129                             PHMHANDLEDATA pHMHandleData,
    135130                             PVOID         lpSecurityAttributes,
    136131                             PHMHANDLEDATA pHMHandleDataTemplate);
     132
     133  /* this is a handler method for calls to GetFileType() */
     134  virtual DWORD GetFileType (PHMHANDLEDATA pHMHandleData);
    137135
    138136  /* this is the handler method for calls to CloseHandle() */
     
    187185                                     LPDWORD lpdwSize);
    188186
    189                            /* this is a handler method for calls to ReadFile() */
     187  /* this is a handler method for calls to ReadFile/Ex */
    190188  virtual BOOL   ReadFile   (PHMHANDLEDATA pHMHandleData,
    191189                             LPCVOID       lpBuffer,
    192190                             DWORD         nNumberOfBytesToRead,
    193191                             LPDWORD       lpNumberOfBytesRead,
    194                              LPOVERLAPPED  lpOverlapped);
    195 
    196                         /* this is a handler method for calls to ReadFileEx() */
    197   virtual BOOL  ReadFileEx(PHMHANDLEDATA pHMHandleData,
    198                            LPVOID       lpBuffer,
    199                            DWORD        nNumberOfBytesToRead,
    200                            LPOVERLAPPED lpOverlapped,
    201                            LPOVERLAPPED_COMPLETION_ROUTINE  lpCompletionRoutine);
    202 
    203                         /* this is a handler method for calls to WriteFile() */
     192                             LPOVERLAPPED  lpOverlapped,
     193                             LPOVERLAPPED_COMPLETION_ROUTINE  lpCompletionRoutine);
     194
     195  /* this is a handler method for calls to WriteFile/Ex */
    204196  virtual BOOL   WriteFile  (PHMHANDLEDATA pHMHandleData,
    205197                             LPCVOID       lpBuffer,
    206198                             DWORD         nNumberOfBytesToWrite,
    207199                             LPDWORD       lpNumberOfBytesWritten,
    208                              LPOVERLAPPED  lpOverlapped);
    209 
    210                         /* this is a handler method for calls to WriteFileEx() */
    211   virtual BOOL  WriteFileEx(PHMHANDLEDATA pHMHandleData,
    212                             LPVOID       lpBuffer,
    213                             DWORD        nNumberOfBytesToWrite,
    214                             LPOVERLAPPED lpOverlapped,
    215                             LPOVERLAPPED_COMPLETION_ROUTINE  lpCompletionRoutine);
     200                             LPOVERLAPPED  lpOverlapped,
     201                             LPOVERLAPPED_COMPLETION_ROUTINE  lpCompletionRoutine);
    216202
    217203  virtual BOOL   CancelIo           (PHMHANDLEDATA pHMHandleData);
Note: See TracChangeset for help on using the changeset viewer.