/[gr2lib]/trunk/gr2lib/core/coretypes/native/granny_grn_file_magic_value.cs
ViewVC logotype

Contents of /trunk/gr2lib/core/coretypes/native/granny_grn_file_magic_value.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 94 - (show annotations) (download)
Sat Jul 17 05:09:42 2010 UTC (11 years, 10 months ago) by william
File size: 595 byte(s)
add support for getting access to the Granny2 Header

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Runtime.InteropServices;
6
7 namespace gr2lib.core.coretypes.native
8 {
9 [StructLayout(LayoutKind.Sequential, Pack = 4), Size(Size = 32)]
10 internal struct granny_grn_file_magic_value
11 {
12 [MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 4)]
13 public Int32[] MagicValue;
14 public Int32 HeaderSize;
15 public Int32 HeaderFormat;
16 [MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 2)]
17 public Int32[] Reserved;
18 }
19 }

  ViewVC Help
Powered by ViewVC 1.1.22