Ignore:
Timestamp:
Mar 2, 2000, 8:17:21 PM (25 years ago)
Author:
sandervl
Message:

setcurrentdir fix + create shell dirs + keys during kernel32 init

File:
1 edited

Legend:

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

    r2802 r2973  
    1 /* $Id: hmopen32.cpp,v 1.17 2000-02-16 14:24:00 sandervl Exp $ */
     1/* $Id: hmopen32.cpp,v 1.18 2000-03-02 19:17:21 sandervl Exp $ */
    22
    33/*
     
    846846                                               DWORD         dwTimeout)
    847847{
     848 DWORD rc, starttime, endtime;
     849
    848850  dprintfl(("KERNEL32: HandleManager::Open32::WaitForSingleObject(%08xh,%08h)\n",
    849851            pHMHandleData->hHMHandle,
    850852            dwTimeout));
    851 
    852   return (O32_WaitForSingleObject(pHMHandleData->hHMHandle,
    853                                   dwTimeout));
     853 
     854  if(dwTimeout) {
     855        starttime = O32_GetCurrentTime();
     856  }
     857  rc =  (O32_WaitForSingleObject(pHMHandleData->hHMHandle,
     858                                 dwTimeout));
     859  if(dwTimeout) {
     860        endtime = O32_GetCurrentTime();
     861        dprintf(("KERNEL32: HandleManager::WaitForSingleObject delta = %x (rc=%x)", endtime - starttime, rc));
     862  }
     863  else dprintf(("KERNEL32: HandleManager::WaitForSingleObject rc=%x", rc));
     864  return rc;
    854865}
    855866
Note: See TracChangeset for help on using the changeset viewer.