Changeset 675 for trunk/src/kernel32/hmmmap.cpp
- Timestamp:
- Aug 25, 1999, 12:23:34 PM (26 years ago)
- 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:18phaller Exp $ */1 /* $Id: hmmmap.cpp,v 1.3 1999-08-25 10:23:34 phaller Exp $ */ 2 2 3 3 /* … … 54 54 LPCSTR name) /* [in] Name of file-mapping object */ 55 55 { 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)); 57 66 58 67 if((hFile == -1 && size_low == 0) || size_high || … … 88 97 LPCSTR name ) /* [in] Name of file-mapping object */ 89 98 { 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 92 108 93 109 if(name == NULL) … … 182 198 Win32MemMap *map; 183 199 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; 187 204 } 188 205 map = (Win32MemMap *)pHMHandleData->dwUserData; … … 209 226 int HMDeviceMemMapClass::findByBaseAddress(LPVOID lpBaseAddress) 210 227 { 211 dprintf(("KERNEL32: H andleManager::MemMap::findByBaseAddress(%08xh) not implemented\n",228 dprintf(("KERNEL32: HMDeviceMemMapClass::findByBaseAddress(%08xh) not implemented\n", 212 229 lpBaseAddress)); 213 230 … … 232 249 LPVOID lpBaseAddress) 233 250 { 234 dprintf(("KERNEL32: H andleManager::MemMap::UnmapViewOfFile(%08xh,%08xh) not implemented\n",251 dprintf(("KERNEL32: HMDeviceMemMapClass::UnmapViewOfFile(%08xh,%08xh) not implemented\n", 235 252 pHMHandleData->hHMHandle, 236 253 lpBaseAddress)); … … 258 275 DWORD dwNumberOfBytesToFlush) 259 276 { 260 dprintf(("KERNEL32: H andleManager::MemMap::FlushViewOfFile(%08xh,%08xh,%08xh) not implemented\n",277 dprintf(("KERNEL32: HMDeviceMemMapClass::FlushViewOfFile(%08xh,%08xh,%08xh) not implemented\n", 261 278 pHMHandleData->hHMHandle, 262 279 lpBaseAddress,
Note:
See TracChangeset
for help on using the changeset viewer.