Ignore:
Timestamp:
Mar 18, 2004, 2:18:33 PM (21 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wndhandle.cpp

    r10379 r10544  
    1 /* $Id: win32wndhandle.cpp,v 1.19 2004-01-11 12:03:21 sandervl Exp $ */
     1/* $Id: win32wndhandle.cpp,v 1.20 2004-03-18 13:18:33 sandervl Exp $ */
    22/*
    33 * Win32 Handle Management Code for OS/2
     
    4747void InitializeWindowHandles()
    4848{
    49     if(globalwhandlecritsect.hmtxLock == 0) {
     49    if(globalwhandlecritsect.hevLock == 0) {
    5050         dprintf(("InitializeWindowHandles %x -> create shared critical section", &globalwhandlecritsect));
    51          DosInitializeCriticalSection(&globalwhandlecritsect, pszWndHandleSemName);
    5251    }
    5352    else {
    5453         dprintf(("InitializeWindowHandles %x -> access shared critical section", &globalwhandlecritsect));
    55          DosAccessCriticalSection(&globalwhandlecritsect, pszWndHandleSemName);
    5654    }
     55    DosAccessCriticalSection(&globalwhandlecritsect, pszWndHandleSemName);
    5756}
    5857//******************************************************************************
     
    6059void FinalizeWindowHandles()
    6160{
    62     dprintf(("FinalizeWindowHandles %x", &globalwhandlecritsect));
    6361    DosDeleteCriticalSection(&globalwhandlecritsect);
    6462}
Note: See TracChangeset for help on using the changeset viewer.