Pymmapfile = mmapfile(File, Name
Creates or opens a memory mapped file.
This method uses the following API functions: CreateFileMapping, MapViewOfFile, VirtualQuery
ParametersFile : str
Name of file. Use None or '' when opening an existing named mapping, or to use system pagefile.Name : str
Name of mapping object to create or open, can be NoneMaximumSize=0 : int
Size of file mapping to create, should be specified as a multiple
of system page size (see win32api::GetSystemInfo). Defaults to size of existing file if 0.
If an existing named mapping is opened, the returned object will have the same size as the original mapping.
FileOffset=0 : int
Offset into the file at which to create view. This should be specified as a
multiple of system allocation granularity. (see win32api::GetSystemInfo)
NumberOfBytesToMap=0 : int
Size of view to create, also a multiple of system page size.
If 0, view will span from offset to end of file mapping.
Accepts keyword args.
Win32 API ReferencesSearch for CreateFileMapping at msdn, google or google groups.
Search for MapViewOfFile at msdn, google or google groups.
Search for VirtualQuery at msdn, google or google groups.