Operation Manual
Programming—Chapter 7
221700 Series Color Mobile Computer User’s Manual
lpOutBuf
Should be NULL.
nOutBufSize S hould be s et to 0.
lpBytesReturned Returns sizeof(PROCESSOR_INFO);
Return Values
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extended error value.
Network Selection APIs
Network Selection APIs change the network adapter configuration pro-
grammatically. See the Communications Resource Kit in the IDL for in-
formation about these APIs. The IDL is available as a download from the
Intermec web site at www.intermec.com/idl. Contact your Intermec repre-
sentative for more information.
Notifications
Use the following information to programmatically control the vibrator, to
write an application to turn on the vibrator when a message is received via
the WLAN radio link, and turn it off when the user hits a key.
Vibrator support is in the NLED driver as a false LED. The vibrator is
LED 5 and identified with an CycleAdjust of –1. The vibrate option is
available in the notifications panel when the vibrator is in the system.
Regarding an applications interface to NLED.DLL, LEDs must be avail-
able for applications to use through the COREDLL.DLL file. To use the
LED f unctions, declare these as extern ”C” as follows:
extern ”C” BOOL WINAPI NLEDGetDeviceInfo(UINT nInfoId, void *pOutput);
extern ”C” BOOL WINAPI NLEDSetDevice( UINT nDeviceId, void *pInput);
The LEDs are enumerated for access through the data structures associated
with these APIs:
S Notification LED 0
S Radio On LED 1 (does not apply to the 730 Computer)
S Alpha Lock LED 2
S Scanner LED 3
S Low Battery 4
S Vibrator 5 (does not apply to the 730 Computer)
NLEDGetDeviceInfo
Usage
#include “nled.h”
Syntax
BOOL NLEDGetDeviceInfo ( UINT nInfoId, void *pOutput );