Intermec 751G 用户手册

下载
页码 156
Chapter 3 — Configuring the Computer
98
751G Color Mobile Computer User’s Manual
NLEDGetDeviceInfo
Usage
#include “nled.h”
Syntax
BOOL NLEDGetDeviceInfo ( UINT nInfoId, void *pOutput );
Parameters
NLEDSetDevice
Usage
#include “nled.h”
Syntax
BOOL NLEDSetDevice ( UINT nDeviceId, void *pInput );
Parameters
Reboot Functions
There are several methods, via Kernel I/O Control functions, that an 
application program can use to force the 751G to reboot.
You can also see the Device Resource Kit in the IDL for information about 
these functions. The IDL is available as a download from the Intermec web 
site at 
. Contact your Intermec representative for 
information.
• IOCTL_HAL_REBOOT
This performs a warm-boot (
). See note on the next page.
nInfoId
Integer specifying the information to return. These values are defined:
NLED_COUNT_INFO
pOutput buffer specifies the number of LEDs on the device.
NLED_SUPPORTS_INFO_ID
pOutput buffer specifies information about the capabilities supported 
by the LED.
NLED_SETTINGS_INFO_ID
pOutput buffer has information about LED current settings.
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 in pOutput
LED_COUNT_INFO
NLED_COUNT_INFO
NLED_SUPPORTS_INFO
NLED_SUPPORTS_INFO
NLED_SETTINGS_INFO
NLED_SETTINGS_INFO
nDeviceId
Integer specifying the device identification. The following is defined:
NLED_SETTINGS_INFO_ID
Contains information about the desired LED settings.
pInput
Pointer to the buffer that contains the NLED_SETTINGS_INFO structure.