public Keystone(ks_arch arch, ks_mode mode) { var err = NativeMethods.ks_open(arch, mode, out m_ks); if (err != ks_err.KS_ERR_OK) { throw new KeystoneException(err); } }
internal static extern ks_err ks_open(ks_arch arch, ks_mode mode, out IntPtr ks);
public static extern ks_err ks_open( ks_arch arch, ks_mode mode, ref IntPtr handle);