Changeset 3599 for trunk/src/kernel32/hmmmap.cpp
- Timestamp:
- May 24, 2000, 3:56:08 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmmmap.cpp
r2973 r3599 1 /* $Id: hmmmap.cpp,v 1.1 1 2000-03-02 19:17:21 sandervlExp $ */1 /* $Id: hmmmap.cpp,v 1.12 2000-05-24 01:56:08 phaller Exp $ */ 2 2 3 3 /* … … 169 169 Win32MemMap *map; 170 170 171 dprintf(("KERNEL32: HMDeviceMemMapClass::MapViewOfFile (%08xh,%08xh,%08xh,%08xh,%08xh,%08xh)\n",171 dprintf(("KERNEL32: HMDeviceMemMapClass::MapViewOfFileEx(%08xh,%08xh,%08xh,%08xh,%08xh,%08xh)\n", 172 172 pHMHandleData->hHMHandle, 173 173 dwDesiredAccess, 174 174 dwFileOffsetHigh, 175 175 dwFileOffsetLow, 176 dwNumberOfBytesToMap, lpBaseAddress)); 177 178 if(lpBaseAddress != NULL) {//No can do. Let us choose the address 179 dprintf(("Can't create view to virtual address %x", lpBaseAddress)); 180 SetLastError(ERROR_OUTOFMEMORY); 181 return NULL; 176 dwNumberOfBytesToMap, 177 lpBaseAddress)); 178 179 if(lpBaseAddress != NULL) 180 { 181 #if 0 182 //No can do. Let us choose the address 183 dprintf(("Can't create view to virtual address %x", lpBaseAddress)); 184 SetLastError(ERROR_OUTOFMEMORY); 185 return NULL; 186 #else 187 // PH 2000/05/24 IBM VAJ3 uses this function. 188 // I don't think we'll ever succeed in EXACTLY copying the original 189 // behaviour of the function. Maybe ignoring the base address helps? 190 dprintf(("WARNING: suggested virtual address %x IGNORED! (experimental API violation)", 191 lpBaseAddress)); 192 #endif 182 193 } 183 194
Note:
See TracChangeset
for help on using the changeset viewer.