public unsafe bool SetDeviceNotify(uint iIndex, byte[] iDeviceID, mPCH375_NOTIFY_ROUTINE iNotifyRoutine) { //if (CH375SetDeviceNotify(iIndex, iDeviceID, iNotifyRoutine) == 0) //********************************************************* { return(false); } return(true); }
static extern unsafe uint CH375SetDeviceNotify // 打开CH375设备,返回句柄,出错则无效 ( uint iIndex, // 指定CH375设备序号 byte[] iDeviceID, mPCH375_NOTIFY_ROUTINE iNotifyRoutine );