public static extern int SCAN_SetOutData(uint Handle, uint MacId, ref IO_DATA_CTL OutData1, IntPtr OutData2);
public static extern int SCAN_GetInData(uint handle, ushort macId, ref IO_DATA_CTL InData1, IntPtr InData2);