Interop.MapViewOfFile C# (CSharp) Method

MapViewOfFile() public static method

public static MapViewOfFile ( SafeMemoryMappedFileHandle hFileMappingObject, int desiredAccess, long fileOffset, UIntPtr numberOfBytesToMap ) : SafeMemoryMappedViewHandle
hFileMappingObject SafeMemoryMappedFileHandle
desiredAccess int
fileOffset long
numberOfBytesToMap UIntPtr
return SafeMemoryMappedViewHandle
    public static SafeMemoryMappedViewHandle MapViewOfFile(
            SafeMemoryMappedFileHandle hFileMappingObject,
            int desiredAccess,
            long fileOffset,
            UIntPtr numberOfBytesToMap)
    {
        return Interop.Kernel32.MapViewOfFileFromApp(hFileMappingObject, desiredAccess, fileOffset, numberOfBytesToMap);
    }
    public static SafeMemoryMappedFileHandle OpenFileMapping(