public static int tdGetDeviceId(int deviceIndex) { if (isWindows) { return(WindowsWrapper.tdGetDeviceId(deviceIndex)); } else { return(UnixWrapper.tdGetDeviceId(deviceIndex)); } }