/[gr2lib]/trunk/gr2lib/core/coreapi/coreapi.cs
ViewVC logotype

Annotation of /trunk/gr2lib/core/coreapi/coreapi.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 40 - (hide annotations) (download)
Wed Jul 14 19:15:42 2010 UTC (10 years, 1 month ago) by william
File size: 1001 byte(s)
Change:
gr2lib.core.coreapi.GrannyGetVersion parameters from out -> ref

1 william 12 using System;
2     using System.Runtime.InteropServices;
3    
4     using gr2lib.core.typedefs;
5    
6     namespace gr2lib.core
7     {
8 william 27 internal class coreapi
9 william 12 {
10     #region Granny API Version Support
11     [DllImport("granny2.dll", EntryPoint = "GrannyVersionsMatch_", CallingConvention = CallingConvention.StdCall)]
12 william 27 internal static extern bool GrannyVersionsMatch(granny_int32x MajorVersion, granny_int32x MinorVersion, granny_int32x Customization, granny_int32x BuildNumber);
13 william 12 [DllImport("granny2.dll", EntryPoint = "GrannyGetVersion", CallingConvention = CallingConvention.StdCall)]
14 william 40 internal static extern void GrannyGetVersion(ref granny_int32x MajorVersion, ref granny_int32x MinorVersion, ref granny_int32x Customization, ref granny_int32x BuildNumber);
15 william 12 [DllImport("granny2.dll", EntryPoint = "GrannyGetVersionString", CallingConvention = CallingConvention.StdCall)]
16 william 27 internal static extern string GrannyGetVersionString();
17 william 12 #endregion
18     }
19     }

  ViewVC Help
Powered by ViewVC 1.1.22