Nledsetdevice; Reboot Functions - Intermec 730 User Manual

700 series color mobile computer
Hide thumbs Also See for 730:
Table of Contents

Advertisement

Chapter
7
Programming
nInfoId
Integer specifying the information to return. These values are defined:
NLED_COUNT_INFO
NLED_SUPPORTS_INFO_ID
NLED_SETTINGS_INFO_ID
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
LED_COUNT_INFO
NLED_SUPPORTS_INFO
NLED_SETTINGS_INFO

NLEDSetDevice

nDeviceId
Integer specifying the device identification. The following is defined:
NLED_SETTINGS_INFO_ID
pInput
Pointer to the buffer that contains the NLED_SETTINGS_INFO structure.

Reboot Functions

222
Parameters
pOutput buffer specifies the number of LEDs on the device.
pOutput buffer specifies information about the capabilities
supported by the LED.
pOutput buffer has information about LED current settings.
Structure in pOutput
NLED_COUNT_INFO
NLED_SUPPORTS_INFO
NLED_SETTINGS_INFO
Usage
#include "nled.h"
Syntax
BOOL NLEDSetDevice ( UINT nDeviceId, void *pInput );
Parameters
Contains information about the desired LED settings.
There are several methods, via Kernel I/O Control functions, that an ap-
plication program can use to force the 700 Color Computer 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 Inter-
mec web site at www.intermec.com/idl. Contact your Intermec representa-
tive for information.
S IOCTL_HAL_REBOOT
This performs a warm-boot (page 219). See note below.
S IOCTL_HAL_COLDBOOT
Forces a cold reboot. This resets the 700 Color Computer, reloads Win-
dows CE as if a power-up was performed, and discards the contents of
the Windows CE RAM-based object store (page 217).
S IOCTL_HAL_WARMBOOT
Performs a system warm-boot, preserving the object store (page 217).
Note: Using IOCTL_HAL_REBOOT is no longer recommended, use
either IOCTL_HAL_WARMBOOT or IOCTL_HAL_COLDBOOT.
IOCTL_HAL_REBOOT is still supported for backward-compatibility
but its use can lead to difficulties.
700 Series Color Mobile Computer User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

750740741760761751 ... Show all

Table of Contents