
80
3.55 SysSetLEDState
This function sets up "Enable" or "Disable" for turning on the system LED (Indicator #2).
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with SysGetLEDState function.
Calling Sequences
[C++]
DWORD SysSetLEDState(
DWORD dwType,
BOOL bMute
)
[Visual Basic]
Public Shared Function SysSetLEDState( _
ByVal dwType As Int32 _
ByVal bMute As Boolean _
) As Int32
[C#]
public static Int32 SysSetLEDState(
Int32 dwType,
Boolean bMute
);
Parameters
dwType
This parameter is for specifying an event for turning on the system LED (Indicator #2)
selecting one of the values listed below.
LED_BT : Connection in Bluetooth established.
LED_WLAN : Connection in WLAN established.
LED_SCANOK : Scanning bar code is complete.
LED_SCANERR : Scanning bar code results in error.
LED_ALL : All the states mentioned above.
LED_WWAN : Connection in WAN established.
LED_GPS : Connection in GPS established.
bMute
This parameter is for turning on or off the system LED (Indicator #2) selecting either of the
values listed below.
LED_Disable : Turns off the LED.
LED_Enable : Turns on the LED.
Return Values
TRUE : Normal end
Kommentare zu diesen Handbüchern