Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
 internal static extern ks_err ks_open(ks_arch arch, ks_mode mode, out IntPtr ks);
Ejemplo n.º 3
0
 internal static extern bool ks_arch_supported(ks_arch arch);
Ejemplo n.º 4
0
 public static extern ks_err ks_open(
     ks_arch arch,
     ks_mode mode,
     ref IntPtr handle);