public static sGhostScriptVersion GetVersion() { sGSVersion ver = new sGSVersion(); var code = gsapi_revision(ref ver, Marshal.SizeOf(ver)); if (code >= 0) { return(new sGhostScriptVersion(ver)); } return(null); }
private static extern int gsapi_revision(ref sGSVersion version, int len);