public IDbBackupHandle BackupInit(IDbHandle destHandle, string destName, IDbHandle srcHandle, string srcName) { var internalDestDb = (DbHandle)destHandle; var internalSrcDb = (DbHandle)srcHandle; IntPtr p = SQLiteApiAndroidInternal.sqlite3_backup_init(internalDestDb.DbPtr, destName, internalSrcDb.DbPtr, srcName); if (p == IntPtr.Zero) { return(null); } else { return(new DbBackupHandle(p)); } }