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