The DlnLedSetState() function sets a new state of the specified user-controlled LED.
A handle to the DLN-series adapter.
The id of the LED which state you want to change.
The state of a LED that you want to set.
The function was successful.
The specified LED number is not valid. Use the DlnLedGetCount()function to find the maximum possible LED number.
The DlnLedSetState() function is declared in the dln_led.h file.