User's Manual
Table Of Contents
- Before You Begin
- Safety Icons
- Global Services and Support
- Chapter 1 Using the CN30 Mobile Computer
- Audio
- Using the Battery
- Charging and Installing the Battery
- Beeper
- Select a Beeper Volume
- Using the Keypad
- Using the Power (I) Key
- Using the Screen
- Resetting Your CN30 Mobile Computer
- Software Build Version
- Chapter 2 Windows Mobile Version 5.0
- To Check the Intermec Build
- Where to Find Information
- Getting Started
- Programs
- Entering Information
- Selecting the Writing
- Converting Writing to Text
- Customizing Your CN30 Mobile Computer
- Adding Programs Using ActiveSync
- Microsoft ActiveSync
- Adding a Program to the Start Menu
- Microsoft Pocket Outlook
- Tasks: Keeping a To Do List
- Notes: Capturing Thoughts and Ideas
- Chapter 3 Installing Applications
- Installing Applications
- Using Microsoft ActiveSync
- Using a Storage Card
- Migrating from Another Computer
- Chapter 4 Network Support
- Configuring the CN30 With the setup Assistant
- Configuring 802.1X Radio Communications
- Configuring the Network Parameters for a TCP/IP Network
- Configuring Security
- Configuring 802.1X Security
- Loading Certificates
- Configuring a VPN
- SNMP Configuration on the CN30 Mobile Computer
- Chapter 7 Programming
- Creating CAB Files
- Creating CAB Files with the CAB Wizard
- Customization and Lockdown
- Networking APIs
- Basic Connect/Disconnect Functions
- Appendix A Specifications
- Physical and Environmental Specifications
- Hardware
- Power Specifications
- Accessories
Chapter 7 — Programming
148 CN30 Mobile Computer User’s Manual
non-volatile data store.
nOutBufSize The size of lpOutBuf in bytes.
lpBytesReturned The number of bytes returned by the function.
Return Values
Returns TRUE if function succeeds. Returns FALSE if the function fails.
May use GetLastError() to get the error value. Either
ERROR_INVALID_PARAMETER or
ERROR_INSUFFICIENT_BUFFER may return when this function is
used to get the error.
ID Field Values
The id field of lpInBuf may be one of the following values:
ITC_REGISTRY_SAVE_ENABLE
This function enables or disables the save registry to non-volatile media feature of the RegFlushKey() function.
lpOutBuf must be set to zero (FALSE) if the feature is to disable or one (TRUE) if the feature is to enable.
ITC_ WAKEUP_MASK
This IOCTL sets a bit mask that represents the mask for the five programmable wakeup keys. The I/O key is not a
programmable wakeup key. By default it is always the system resume key and all other keys are set to disable key
wakeup. A zero in a bit position masks the wakeup for that key. A one in a bit position enables wakeup for that key.
lpOutBuf must point to a buffer that contains a byte value of a wakeup mask consisting of the OR’ed constants as
defined inOEMIOCTL.H. Only the following keys are programmable as wakeup events.
#define SCANNER_TRIGGER 1
#define SCANNER_LEFT 2
#define SCANNER_RIGHT 4
#define GOLD_A1 8
#define GOLD_A2 0x10
ITC_AMBIENT_KEYBOARD
This IOCTL sets the threshold for the keypad ambient sensor. This can be a value from 0 (always off) to 255 (always
on). lpOutBuf must point to a buffer that contains a byte value of the desired setting.
ITC_AMBIENT_FRONTLIGHT
This IOCTL sets the threshold for the frontlight ambient sensor. This can be a value from 0 (always off) to 255.
lpOutBuf must point to a buffer that contains a byte value of the desired setting.
IOCTL_HAL_GET_DEVICEID
This IOCTL returns the device ID. There are two types of device IDs
supported, which are differentiated based on the size of the output buffer.
The UUID is returned if the buffer size is set to
sizeof(UNIQUE_DEVICEID), otherwise the oldstyle device ID is returned.
Usage
#include “pkfuncs.h”
#include “deviceid.h”
Syntax
BOOL KernelIoControl( IOCTL_HAL_GET_DEVICEID,LPVOID
lpInBuf,DWORD nInBufSize,LPVOID lpOutBuf,DWORD
nOutBufSize,LPDWORD lpBytesReturned );
Parameters
lpInBuf Should set to NULL. STRICT_ID settings are not supported.