BOOL UnmapViewOfFile(lpBaseAddress) | |||||
LPVOID lpBaseAddress; | /* addr where mapped view begins | */ |
A previously mapped view of a file may be unmapped from the caller's address space using UnmapViewOfFile.
lpBaseAddress
Specifies the base address of a previously mapped view of a file that is to be unmapped. This value must be identical to the value returned by a previous call to MapViewOfFile or MapViewOfFileEx.
The return value is TRUE if the function is successful. All dirty pages within the specified range are stored in the on-disk representation of the mapped file.
The return value is FALSE if an error occurred. Use the GetLastError function to obtain extended error information.
MapViewOfFile, MapViewOfFileEx