Changeset 664 for trunk/src/kernel32/mmap.h
- Timestamp:
- Aug 24, 1999, 8:48:10 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/mmap.h
r657 r664 1 /* $Id: mmap.h,v 1. 5 1999-08-24 12:23:54sandervl Exp $ */1 /* $Id: mmap.h,v 1.6 1999-08-24 18:46:40 sandervl Exp $ */ 2 2 3 3 /* … … 25 25 ~Win32MemMap(); 26 26 27 HANDLE Init();27 BOOL Init(HANDLE hMemMap); 28 28 BOOL flushView(LPVOID lpvBase, ULONG cbFlush); 29 LPVOID map FileView(ULONG size, ULONG offset, ULONG fdwAccess);30 BOOL unmap FileView();29 LPVOID mapViewOfFile(ULONG size, ULONG offset, ULONG fdwAccess); 30 BOOL unmapViewOfFile(); 31 31 32 32 HFILE getMapHandle() { return hMemMap; }; 33 33 LPSTR getMemName() { return lpszMapName; }; 34 DWORD getProtFlags() { return mProtFlags; }; 35 36 void AddRef() { ++referenced; }; 37 void Release() { if(--referenced == 0) delete this; }; 34 38 35 39 static Win32MemMap *findMap(LPSTR lpszName); … … 45 49 BOOL fMapped; 46 50 51 ULONG referenced; 52 47 53 VMutex mapMutex; 48 54
Note:
See TracChangeset
for help on using the changeset viewer.