using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace PosSystemConfig
{
public class BankPay
{
///
/// MisPos交易接口API
///
/// config.ini配置文件绝对路径
/// 交易信息结构体拼接字符串
/// 交易结果结构体拼接字符串
/// API接口状态
[DllImport("Proxydll.dll", EntryPoint = "PAXPAY_Trans", BestFitMapping = false, SetLastError = true, CharSet = CharSet.Auto,
ExactSpelling = false, ThrowOnUnmappableChar = true, CallingConvention = CallingConvention.StdCall)]
public static extern int PAXPAY_Trans([MarshalAs(UnmanagedType.LPStr)]string pConfigPath, [MarshalAs(UnmanagedType.LPStr)]string pReq, byte[] pRsp);
}
}