Esempio n. 1
0
 /// <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));
 }
Esempio n. 2
0
 private static extern int Srv_SetReadEventsCallback(IntPtr server, SrvCallback callback, IntPtr usrPtr);