MapViewOfFile
MapViewOfFile is a Windows API function that maps a view of a file mapping object into the virtual address space of the calling process. It allows programs to access the contents of a file (or paging file backed memory) through memory rather than explicit I/O calls. This function is typically used after a file mapping object has been created with CreateFileMapping (or opened with OpenFileMapping).
The function takes a handle to a file mapping object, a desired access flag, the high and
Access rights are controlled by dwDesiredAccess, which can include flags such as FILE_MAP_READ, FILE_MAP_WRITE, and FILE_MAP_EXECUTE,
To use and release resources properly, the mapped view should be unmapped with UnmapViewOfFile when it is