Changeset 7518 for trunk/src/kernel32/hmcomm.cpp
- Timestamp:
- Dec 1, 2001, 8:26:40 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmcomm.cpp
r7499 r7518 1 /* $Id: hmcomm.cpp,v 1.2 2 2001-11-30 13:52:32sandervl Exp $ */1 /* $Id: hmcomm.cpp,v 1.23 2001-12-01 19:26:40 sandervl Exp $ */ 2 2 3 3 /* … … 312 312 dprintf(("Warning: lpOverlapped != NULL & !FILE_FLAG_OVERLAPPED; sync operation")); 313 313 } 314 //testestestest 315 dprintf(("Bytes to write:")); 316 for(int i=0;i<nNumberOfBytesToWrite;i++) { 317 dprintf(("%x %c", ((char *)lpBuffer)[i], ((char *)lpBuffer)[i])); 318 } 319 //testestestset 314 320 315 321 ret = OSLibDosWrite(pHMHandleData->hHMHandle, (LPVOID)lpBuffer, nNumberOfBytesToWrite, … … 430 436 if(ret == FALSE) { 431 437 dprintf(("!ERROR!: ReadFile failed with rc %d", GetLastError())); 438 } 439 else { 440 //testestestest 441 dprintf(("Bytes read:")); 442 for(int i=0;i<ulBytesRead;i++) { 443 dprintf(("%x %c", ((char *)lpBuffer)[i], ((char *)lpBuffer)[i])); 444 } 445 //testestestset 432 446 } 433 447 return ret; … … 541 555 dprintf(("SerialCommThread %x entered", hComm)); 542 556 557 SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL); 543 558 while(TRUE) 544 559 {
Note:
See TracChangeset
for help on using the changeset viewer.