1#ifndef __MAPUTIL_H__
2#define __MAPUTIL_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef struct {
9 void *memory;
10 DWORD lenL;
11 DWORD lenH;
12 } MEMMAP;
13
14DllExport HANDLE CreateFileMap(PGLOBAL, LPCSTR, MEMMAP *, MODE, bool);
15DllExport bool CloseMemMap(void *memory, size_t dwSize);
16
17#ifdef __cplusplus
18}
19#endif
20
21#endif /* __MAPUTIL_H__ */
22