/// <summary> /// Add a new device to the global database of devices. This function must be called first before /// any call to tdSetName(), tdSetProtocol() and similar functions. /// </summary> /// <returns> The device id for the newly created device. If the creation fails it returnes a /// negative value.</returns> public static int tdAddDevice() { return(UnmanagedImport.tdAddDevice()); }