1 |
william |
94 |
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 |
william |
186 |
/// <summary> |
10 |
|
|
/// granny_grn_file_magic_value structure |
11 |
|
|
/// </summary> |
12 |
william |
94 |
[StructLayout(LayoutKind.Sequential, Pack = 4), Size(Size = 32)] |
13 |
william |
142 |
public struct granny_grn_file_magic_value |
14 |
william |
94 |
{ |
15 |
william |
186 |
/// <summary> |
16 |
|
|
/// MagicValue |
17 |
|
|
/// </summary> |
18 |
william |
94 |
[MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 4)] |
19 |
|
|
public Int32[] MagicValue; |
20 |
william |
186 |
/// <summary> |
21 |
|
|
/// HeaderSize |
22 |
|
|
/// </summary> |
23 |
william |
94 |
public Int32 HeaderSize; |
24 |
william |
186 |
/// <summary> |
25 |
|
|
/// HeaderFormat |
26 |
|
|
/// </summary> |
27 |
william |
94 |
public Int32 HeaderFormat; |
28 |
william |
186 |
/// <summary> |
29 |
|
|
/// Reserved |
30 |
|
|
/// </summary> |
31 |
william |
94 |
[MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 2)] |
32 |
|
|
public Int32[] Reserved; |
33 |
|
|
} |
34 |
|
|
} |