/// <summary> /// Set a function callback for read events /// </summary> /// <param name="callback">Callback delegate</param> /// <param name="usrPtr">User pointer passed back</param> /// <returns>0: No errors. Otherwise see errorcodes</returns> public int SetReadEventsCallBack(SrvCallback callback, IntPtr usrPtr) { return(Srv_SetReadEventsCallback(server, callback, usrPtr)); }
private static extern int Srv_SetReadEventsCallback(IntPtr server, SrvCallback callback, IntPtr usrPtr);