PrApi: SetStatusLed

SetStatusLed

Turns on/off the status leds.

 Public Function SetStatusLed(
	  ByVal ledmask As Long,
	  ByVal color As Long ) As Boolean

Parameters

ledmask
Bitmask representing the selected status leds.
color
The color to display on the selected leds.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function SetStatusLed(ByVal ledmask As Long, ByVal color As Long) As Boolean

[Delphi] function SetStatusLed(ledmask: Integer; color: Integer): Boolean;

[C++] bool SetStatusLed(long ledmask, long color);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods SetProperty Suspend