| Line | |
|---|
| 1 | #ifndef __MEMMAP_H
|
|---|
| 2 | #define __MEMMAP_H
|
|---|
| 3 |
|
|---|
| 4 | #ifdef __cplusplus
|
|---|
| 5 | extern "C" {
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef _DEF_PFNEXCEPTIONNOTIFY
|
|---|
| 9 | #define _DEF_PFNEXCEPTIONNOTIFY
|
|---|
| 10 | typedef BOOL (WIN32API * PFNEXCEPTIONNOTIFY)(LPVOID lpBase, ULONG offset, BOOL fWriteAccess, DWORD dwSize, DWORD dwUserData);
|
|---|
| 11 | #endif
|
|---|
| 12 |
|
|---|
| 13 | BOOL WIN32API MMAP_RegisterMemoryRange(PFNEXCEPTIONNOTIFY pfnNotify, LPVOID lpViewAddr, DWORD size, DWORD dwUserData);
|
|---|
| 14 | BOOL WIN32API MMAP_UnregisterMemoryRange(LPVOID lpViewAddr);
|
|---|
| 15 |
|
|---|
| 16 | #ifdef __cplusplus
|
|---|
| 17 | } // extern "C"
|
|---|
| 18 | #endif
|
|---|
| 19 |
|
|---|
| 20 | #endif /*__MEMMAP_H */
|
|---|
| 21 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.