Intermec 751G Cell Phone User Manual


 
Chapter 3 — Configuring the Computer
751G Color Mobile Computer User’s Manual 97
Deprecated Functions
The following functions are deprecated. While these are not removed from
the API, these are no longer supported. Their parameters are no longer
applicable and the return value for all of these functions is:
ERR_FUNCTION_DEPRECATED.
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 presses 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 available for
applications to use through the CoreDll.dll file. To use the LED functions,
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:
Function Syntax
GetRTSThreshold(Deprecated)
UINT GetRTSThreshold( USHORT & );
GetMedia(Deprecated)
UINT GetMedia( ULONG & );
GetMedium(Deprecated)
UINT GetMedium( ULONG & );
GetNicStats(Deprecated)
UINT GetNicStats( NDIS_802_11_STATISTICS & );
SetRTSThreshold(Deprecated)
UINT SetRTSThreshold( USHORT & );
SetTXRate(Deprecated)
UINT SetTXRate( UCHAR );
EncryptWepKeyForRegistry(Deprecated)
UINT EncryptWepKeyForRegistry( TCHAR * szDest, TCHAR *
szSource );
SetDiversity(Deprecicated)
UINT SetDiversity( USHORT );
Notification LED 0
Radio On LED 1
Alpha Lock LED 2
Scanner LED 3
Low Battery 4
Vibrator 5