Ignore:
Timestamp:
Aug 25, 1999, 12:23:34 PM (26 years ago)
Author:
phaller
Message:

Fix: added debug info to hmmmap.cpp

File:
1 edited

Legend:

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

    r673 r675  
    1 /* $Id: hmmmap.cpp,v 1.2 1999-08-25 08:55:18 phaller Exp $ */
     1/* $Id: hmmmap.cpp,v 1.3 1999-08-25 10:23:34 phaller Exp $ */
    22
    33/*
     
    5454                                             LPCSTR name)     /* [in] Name of file-mapping object */
    5555{
    56  Win32MemMap *map;
     56  Win32MemMap *map;
     57
     58  dprintf(("KERNEL32::HMDeviceMemMapClass::CreateFileMapping(%08xh,%08xh,%08xh,%08xh,%08xh,%08xh,%s)\n",
     59           pHMHandleData,
     60           hFile,
     61           sa,
     62           protect,
     63           size_high,
     64           size_low,
     65           name));
    5766
    5867  if((hFile == -1 && size_low == 0) || size_high ||
     
    8897                                           LPCSTR name )   /* [in] Name of file-mapping object */
    8998{
    90  Win32MemMap *map;
    91  DWORD        protflags;
     99  Win32MemMap *map;
     100  DWORD        protflags;
     101
     102  dprintf(("KERNEL32::HMDeviceMemMapClass::OpenFileMapping(%08xh,%08xh,%08xh,%08xh\n",
     103           pHMHandleData,
     104           access,
     105           inherit,
     106           name));
     107
    92108
    93109  if(name == NULL)
     
    182198 Win32MemMap *map;
    183199
    184   if(pHMHandleData->dwUserData == NULL || pHMHandleData->dwInternalType != HMTYPE_MEMMAP) {
    185         dprintf(("MapViewOfFileEx: invalid handle data!"));
    186         return ERROR_INVALID_HANDLE;
     200  if(pHMHandleData->dwUserData == NULL || pHMHandleData->dwInternalType != HMTYPE_MEMMAP)
     201  {     
     202    dprintf(("KERNEL32: HMDeviceMemMapClass:MapViewOfFileEx: invalid handle data!"));
     203    return ERROR_INVALID_HANDLE;
    187204  }
    188205  map = (Win32MemMap *)pHMHandleData->dwUserData;
     
    209226int HMDeviceMemMapClass::findByBaseAddress(LPVOID lpBaseAddress)
    210227{
    211   dprintf(("KERNEL32: HandleManager::MemMap::findByBaseAddress(%08xh) not implemented\n",
     228  dprintf(("KERNEL32: HMDeviceMemMapClass::findByBaseAddress(%08xh) not implemented\n",
    212229           lpBaseAddress));
    213230
     
    232249                                          LPVOID        lpBaseAddress)
    233250{
    234   dprintf(("KERNEL32: HandleManager::MemMap::UnmapViewOfFile(%08xh,%08xh) not implemented\n",
     251  dprintf(("KERNEL32: HMDeviceMemMapClass::UnmapViewOfFile(%08xh,%08xh) not implemented\n",
    235252           pHMHandleData->hHMHandle,
    236253           lpBaseAddress));
     
    258275                                          DWORD         dwNumberOfBytesToFlush)
    259276{
    260   dprintf(("KERNEL32: HandleManager::MemMap::FlushViewOfFile(%08xh,%08xh,%08xh) not implemented\n",
     277  dprintf(("KERNEL32: HMDeviceMemMapClass::FlushViewOfFile(%08xh,%08xh,%08xh) not implemented\n",
    261278           pHMHandleData->hHMHandle,
    262279           lpBaseAddress,
Note: See TracChangeset for help on using the changeset viewer.