8,834
社区成员
发帖
与我相关
我的任务
分享
[DllImport("cardapi2.dll", EntryPoint = "OpenCardReader", CallingConvention = CallingConvention.StdCall,
CharSet = CharSet.Unicode)]
public static extern Int32 OpenCardReader(Int32 lPort, UInt32 ulFlag);
[DllImport("cardapi2.dll", EntryPoint = "GetPersonMsgW",
CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode)]
public static extern Int32 GetPersonMsgW(ref PERSONINFOW pInfo, string pszImageFile);
[DllImport("cardapi2.dll", EntryPoint = "CloseCardReader",
CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode)]
public static extern Int32 CloseCardReader();
[DllImport("cardapi2.dll", EntryPoint = "CloseCardReader",
CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode)]
public static extern Int32 ResetCardReader();