singrdk/base/Kernel/Singularity/Io/FileImage.cs

35 lines
865 B
C#
Raw Permalink Normal View History

2008-03-05 09:52:00 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: FileImage.cs
//
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Singularity.Io
{
[NoCCtor]
[CLSCompliant(false)]
[StructLayout(LayoutKind.Sequential, Pack=4)]
[AccessedByRuntime("referenced in c++")]
public struct FileImage
{
[AccessedByRuntime("referenced in c++")]
internal UIntPtr Address;
[AccessedByRuntime("referenced in c++")]
internal uint Size;
internal FileImage(UIntPtr address, uint size)
{
this.Address = address;
this.Size = size;
}
}
}