Ignore:
Timestamp:
Sep 20, 2000, 11:32:58 PM (25 years ago)
Author:
hugh
Message:

Implemented Serial APIs

File:
1 edited

Legend:

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

    r3948 r4285  
    1 /* $Id: hmopen32.cpp,v 1.25 2000-08-04 21:12:08 sandervl Exp $ */
     1/* $Id: hmopen32.cpp,v 1.26 2000-09-20 21:32:52 hugh Exp $ */
    22
    33/*
     
    1212 */
    1313
    14 //#define DEBUG_LOCAL
     14#define DEBUG_LOCAL
    1515
    1616#ifdef DEBUG_LOCAL
     
    3131#include "mmap.h"
    3232
    33 #define DBG_LOCALLOG    DBG_hmopen32
     33#define DBG_LOCALLOG  DBG_hmopen32
    3434#include "dbglocal.h"
    3535
     
    101101 * Name      : HMDeviceHandler::DuplicateHandle
    102102 * Purpose   : dummy version
    103  * Parameters: 
     103 * Parameters:
    104104 *             various parameters as required
    105105 * Variables :
     
    115115                               HANDLE  destprocess,
    116116                               PHANDLE desthandle,
    117                                DWORD   fdwAccess,
    118                                BOOL    fInherit,
     117                               DWORD   fdwAccess,
     118                               BOOL    fInherit,
    119119                               DWORD   fdwOptions,
    120120                               DWORD   fdwOdinOptions)
     
    130130
    131131  if(rc == TRUE) {
    132         pHMHandleData->hHMHandle = *desthandle;
    133         return TRUE;
     132      pHMHandleData->hHMHandle = *desthandle;
     133      return TRUE;
    134134  }
    135135  else  return FALSE;
     
    205205            pHMHandleData->hHMHandle,
    206206            dwTimeout));
    207  
     207
    208208  if(dwTimeout) {
    209         starttime = O32_GetCurrentTime();
     209    starttime = O32_GetCurrentTime();
    210210  }
    211211  rc =  (O32_WaitForSingleObject(pHMHandleData->hHMHandle,
    212212                                 dwTimeout));
    213213  if(dwTimeout) {
    214         endtime = O32_GetCurrentTime();
    215         dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x delta = %x (rc=%x)", pHMHandleData->hHMHandle, endtime - starttime, rc));
     214    endtime = O32_GetCurrentTime();
     215    dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x delta = %x (rc=%x)", pHMHandleData->hHMHandle, endtime - starttime, rc));
    216216  }
    217217  else dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x rc=%x", pHMHandleData->hHMHandle, rc));
Note: See TracChangeset for help on using the changeset viewer.