// This will allow you to determine the current queue depth for all of the frame sources at any time. public static void recv_get_queue(IntPtr p_instance, ref recv_queue_t p_total) { if (IntPtr.Size == 8) { UnsafeNativeMethods.recv_get_queue_64(p_instance, ref p_total); } else { UnsafeNativeMethods.recv_get_queue_32(p_instance, ref p_total); } }
internal static extern void recv_get_queue_32(IntPtr p_instance, ref recv_queue_t p_total);
public static extern void recv_get_queue(IntPtr p_instance, ref recv_queue_t p_total);