User's Manual
ProgrammingChapter —7
302 700 Series Color Mobile Computer U ser’s Manual
NLEDGetDeviceInfo
Usage
#include “nled.h”
Syntax
BOOL NLEDGetDeviceInfo ( UINT nInfoId, void *pOutput );
Parameters
S nInfoId
Integer specifying the information to return. These values are defined:
NLED_COUNT_INFO Indicates the pOutput buffer specifies the num-
ber of LEDs on the device.
NLED_SUPPORTS_INFO_ID Indicates the pOutput buffer specifies informa-
tion about the capabilities supported by the
LED.
NLED_SETTINGS_INFO_ID Indicates the pOutput buffer contains informa-
tion about the LED current settings.
S pOutput
Pointer to the buffer to which the information is returned. The buffer
points to various structure types defined in “nled.h”, depending on the
value of nId, as detailed in the following table:
Value of nID Structure i n pOutput
LED_COUNT_INFO NLED_COUNT_INFO
NLED_SUPPORTS_INFO NLED_SUPPORTS_INFO
NLED_SETTINGS_INFO NLED_SETTINGS_INFO
NLEDSetDevice
Usage
#include “nled.h”
Syntax
BOOL NLEDSetDevice ( UINT nDeviceId, void *pInput );
Parameters
S nDeviceId
Integer specifying the device identification. The following is defined:
NLED_SETTINGS_INFO_ID Contains information about the desired LED
settings.
S pInput
Pointertothebufferthatcontains the NLED_SETTINGS_INFO
structure.