コード例 #1
0
 /// <summary>
 /// Dims a device.
 /// Make sure the device supports this by calling tdMethods() before any calls to this function.
 /// </summary>
 /// <param name="deviceId">The device id to dim</param>
 /// <param name="level">The level the device should dim to. This value should be 0-255</param>
 /// <returns>Success or error code</returns>
 public static int tdDim(int deviceId, char level)
 {
     return(UnmanagedImport.tdDim(deviceId, level));
 }