MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / MapViewOfFile

Method MapViewOfFile

PerformanceMonitor/DebugMonitor.cs:89–92  ·  view source on GitHub ↗
(IntPtr hFileMappingObject, uint
			dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow,
			uint dwNumberOfBytesToMap)

Source from the content-addressed store, hash-verified

87 private const uint SECTION_MAP_READ = 0x0004;
88
89 [DllImport("kernel32.dll", SetLastError = true)]
90 private static extern IntPtr MapViewOfFile(IntPtr hFileMappingObject, uint
91 dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow,
92 uint dwNumberOfBytesToMap);
93
94 [DllImport("kernel32.dll", SetLastError = true)]
95 private static extern bool UnmapViewOfFile(IntPtr lpBaseAddress);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected