public int SetTrgCallBackProc(short Id, PTRGCALLBACK CallBackProc, out int Param) { Param = 0; int ret = DioSetTrgCallBackProc(Id, CallBackProc, ref Param); return(ret); }
static extern int DioSetTrgCallBackProc(short Id, PTRGCALLBACK CallBackProc, ref int Param);
[DllImport("cdio.dll")] static extern int DioSetTrgCallBackProc(short Id, PTRGCALLBACK CallBackProc, ref int Param);