UnmapViewOfFile

From aldeid
Jump to navigation Jump to search

Description

Unmaps a mapped view of a file from the calling process's address space.

Syntax

BOOL WINAPI UnmapViewOfFile(
  _In_  LPCVOID lpBaseAddress
);

Parameters

lpBaseAddress [in]
A pointer to the base address of the mapped view of a file that is to be unmapped. This value must be identical to the value returned by a previous call to the MapViewOfFile or MapViewOfFileEx function.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.