[DllImport("gsdll32.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
private static extern int gsapi_revision(ref GSVersion version, int len);
Declare Auto Function gsapi_revision Lib "gsdll32.dll" (ByRef pVer As GSVersion, ByVal pSize As Integer) As Integer
None.
Do you know one? Please contribute it!
The gsapi_revision function takes a reference to a GSVersion structure.
Please add some!
Here is an example of using the gsapi_revision in an object property.
public GSVersion GSVer
{
get
{
GSVersion gsVer = new GSVersion();
gsapi_revision(ref gsVer, Marshal.SizeOf(gsVer));
return gsVer;
}
}
Public Function TellRevision() As String
Dim lVer As New GSVersion
Dim lResult As Integer
lResult = gsapi_revision(lVer, Marshal.SizeOf(lVer))
Return lVer.product
End Function