コード例 #1
0
        private void ConvertTemplate([In] IntPtr tpt, [Out] IntPtr newTpt, ref int newTptSize, int context, int format)
        {
            int errorCode = 0;

            try
            {
                errorCode = GrFingerprintProxy.GrConvertTemplate(tpt, newTpt, ref newTptSize, context, format);
            }
            catch (AccessViolationException exception)
            {
                FingerprintException exception2 = new FingerprintException(-113, exception);
                throw exception2;
            }
            FingerprintException.CheckError(errorCode);
        }