Changeset 9826 for trunk/src/kernel32


Ignore:
Timestamp:
Feb 18, 2003, 7:58:47 PM (23 years ago)
Author:
sandervl
Message:

updates

Location:
trunk/src/kernel32
Files:
3 edited

Legend:

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

    r9824 r9826  
    1 /* $Id: hmmmap.cpp,v 1.21 2003-02-18 18:48:54 sandervl Exp $ */
     1/* $Id: hmmmap.cpp,v 1.22 2003-02-18 18:58:47 sandervl Exp $ */
    22
    33/*
     
    105105        return ERROR_ALREADY_EXISTS;
    106106  }
    107  
    108 #if 0
     107#if 0 
    109108  //We reuse the original memory map object if another one is created for
    110109  //the same file handle
     
    138137        }
    139138  }
    140   map->AddRef();
    141139  pHMHandleData->dwUserData = (ULONG)map;
    142140  pHMHandleData->dwInternalType = HMTYPE_MEMMAP;
  • trunk/src/kernel32/mmap.cpp

    r9824 r9826  
    1 /* $Id: mmap.cpp,v 1.61 2003-02-18 18:48:55 sandervl Exp $ */
     1/* $Id: mmap.cpp,v 1.62 2003-02-18 18:58:47 sandervl Exp $ */
    22
    33/*
     
    9090    }
    9191    else  lpszMapName = NULL;
     92    AddRef();
    9293}
    9394//******************************************************************************
     
    112113    image      = pImage;
    113114    lpszMapName= NULL;
     115    AddRef();
    114116}
    115117//******************************************************************************
  • trunk/src/kernel32/winimagepeldr.cpp

    r9618 r9826  
    1 /* $Id: winimagepeldr.cpp,v 1.104 2003-01-05 13:16:41 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.105 2003-02-18 18:58:47 sandervl Exp $ */
    22
    33/*
     
    148148{
    149149    if(memmap)
    150         delete memmap;
     150        memmap->Release();
    151151
    152152    if(hFile) {
     
    665665failure:
    666666    if(memmap) {
    667         delete memmap;
     667        memmap->Release();
    668668        memmap = NULL;
    669669    }
Note: See TracChangeset for help on using the changeset viewer.