LgBackLight.HidDevice.SetFeature C# (CSharp) Метод

SetFeature() приватный Метод

private SetFeature ( byte reportBuffer ) : bool
reportBuffer byte
Результат bool
        internal bool SetFeature(byte[] reportBuffer)
        {
            return Hid.HidD_SetFeature(handle, reportBuffer, reportBuffer.Length);
        }

Usage Example

Пример #1
0
 public static void SetBackLight(HidDevice dev, Color color)
 {
     // Create the feature buffer.
     byte[] featureBuffer = new byte[] { reportId, color.R, color.G, color.B };
     // Send it to all devices we know of.
     dev.SetFeature(featureBuffer);
 }
All Usage Examples Of LgBackLight.HidDevice::SetFeature