Changeset 2053 for trunk/src/kernel32/hmmmap.cpp
- Timestamp:
- Dec 10, 1999, 3:06:12 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmmmap.cpp
r1914 r2053 1 /* $Id: hmmmap.cpp,v 1. 8 1999-12-01 10:47:51 sandervl Exp $ */1 /* $Id: hmmmap.cpp,v 1.9 1999-12-10 14:06:11 sandervl Exp $ */ 2 2 3 3 /* … … 53 53 DWORD size_high, /* [in] High-order 32 bits of object size */ 54 54 DWORD size_low, /* [in] Low-order 32 bits of object size */ 55 LPCSTR name) /* [in] Name of file-mapping object */ 55 LPCSTR name, /* [in] Name of file-mapping object */ 56 HFILE *hOldMap) // if create an existing memmap, return handle of old one 56 57 { 57 58 Win32MemMap *map; … … 91 92 //Is it allowed to open an existing view with different flags? 92 93 //(i.e. write access to readonly object) 94 //Return handle of existing file mapping 95 dprintf(("CreateFileMapping: Return handle of existing file mapping %s", name)); 96 map->AddRef(); 97 *hOldMap = map->getMapHandle(); 98 return ERROR_ALREADY_EXISTS; 93 99 } 94 100 else {
Note:
See TracChangeset
for help on using the changeset viewer.