ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/gr2lib/trunk/gr2lib/core/coretypes/native/granny_grn_file_magic_value.cs
Revision: 94
Committed: Sat Jul 17 05:09:42 2010 UTC (12 years, 6 months ago) by william
File size: 595 byte(s)
Log Message:
add support for getting access to the Granny2 Header

File Contents

# Content
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 }