/// <summary> /// Turns a device off. /// Make sure the device supports this by calling tdMethods() before any calls to this function. /// </summary> /// <param name="deviceId">Id of device to turn off</param> /// <returns>Success or error code</returns> public static int tdTurnOff(int deviceId) { return(UnmanagedImport.tdTurnOff(deviceId)); }