Diff for /np2/win9x/cmpara.cpp between versions 1.2 and 1.5

version 1.2, 2004/03/27 13:31:37 version 1.5, 2005/03/20 13:12:49
Line 7  typedef struct { Line 7  typedef struct {
 } _CMPARA, *CMPARA;  } _CMPARA, *CMPARA;
   
   
 static UINT pararead(COMMNG self, BYTE *data) {  static UINT pararead(COMMNG self, UINT8 *data) {
   
         return(0);          return(0);
 }  }
   
 static UINT parawrite(COMMNG self, BYTE data) {  static UINT parawrite(COMMNG self, UINT8 data) {
   
         CMPARA  para;          CMPARA  para;
         DWORD   writesize;          DWORD   writesize;
Line 22  static UINT parawrite(COMMNG self, BYTE  Line 22  static UINT parawrite(COMMNG self, BYTE 
         return(1);          return(1);
 }  }
   
 static BYTE paragetstat(COMMNG self) {  static UINT8 paragetstat(COMMNG self) {
   
         return(0);          return(0);
 }  }
Line 49  static void pararelease(COMMNG self) { Line 49  static void pararelease(COMMNG self) {
   
 COMMNG cmpara_create(UINT port) {  COMMNG cmpara_create(UINT port) {
   
         char    commstr[16];          TCHAR   commstr[16];
         HANDLE  hdl;          HANDLE  hdl;
         COMMNG  ret;          COMMNG  ret;
         CMPARA  para;          CMPARA  para;
   
         wsprintf(commstr, "LPT%u", port);          wsprintf(commstr, _T("LPT%u"), port);
         hdl = CreateFile(commstr, GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, NULL);          hdl = CreateFile(commstr, GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, NULL);
         if (hdl == INVALID_HANDLE_VALUE) {          if (hdl == INVALID_HANDLE_VALUE) {
                 goto cpcre_err1;                  goto cpcre_err1;

Removed from v.1.2  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>