From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- storage/connect/maputil.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 storage/connect/maputil.h (limited to 'storage/connect/maputil.h') diff --git a/storage/connect/maputil.h b/storage/connect/maputil.h new file mode 100644 index 00000000..e310488e --- /dev/null +++ b/storage/connect/maputil.h @@ -0,0 +1,21 @@ +#ifndef __MAPUTIL_H__ +#define __MAPUTIL_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct { + void *memory; + DWORD lenL; + DWORD lenH; + } MEMMAP; + +DllExport HANDLE CreateFileMap(PGLOBAL, LPCSTR, MEMMAP *, MODE, bool); +DllExport bool CloseMemMap(void *memory, size_t dwSize); + +#ifdef __cplusplus +} +#endif + +#endif /* __MAPUTIL_H__ */ -- cgit v1.2.3