Пример #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);
            }
        }
Пример #2
0
 internal static extern ks_err ks_open(ks_arch arch, ks_mode mode, out IntPtr ks);
Пример #3
0
 public static extern ks_err ks_open(
     ks_arch arch,
     ks_mode mode,
     ref IntPtr handle);