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
152 CN30 Mobile Computer User’s Manual
// Object store state flags
#define HAL_OBJECT_STORE_STATE_UNKNOWN 0
#define HAL_OBJECT_STORE_STATE_CLEAR 1
Programming Chapter — 7
IOCTL_HAL_GET_BOOT_DEVICE
This IOCTL code allows software to check which device CE booted from.
Usage
#include “oemioctl.h”
Syntax
BOOL KernelIoControl( IOCTL_HAL_GET_BOOT_DEVICE,LPVOID
lpInBuf,DWORD nInBufSize,LPVOID lpOutBuf,DWORD
nOutBufSize,LPDWORD lpBytesReturned );
Parameters
lpInBuf Should set to NULL.
lpInBufSize Should set to zero.
lpOutBuf Must point to a buffer large enough to hold a DWORD (4 bytes)
that contains the boot device. The following boot devices are supported:
#define HAL_BOOT_DEVICE_UNKNOWN 0
#define HAL_BOOT_DEVICE_ROM_XIP 1
#define HAL_BOOT_DEVICE_ROM 2
#define HAL_BOOT_DEVICE_PCMCIA_ATA 3
#define HAL_BOOT_DEVICE_PCMCIA_LINEAR 4
#define HAL_BOOT_DEVICE_IDE_ATA 5
#define HAL_BOOT_DEVICE_IDE_ATAPI 6
nOutBufSize The size of lpOutBuf in bytes (4).
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 extended error value.
IOCTL_HAL_REBOOT
Causes the system to perform a warm-boot. The object store is retained.
Usage
#include “oemioctl.h”
Syntax
BOOL KernelIoControl( IOCTL_HAL_REBOOT,LPVOID
lpInBuf,DWORD nInBufSize,LPVOID lpOutBuf,DWORD
nOutBufSize,LPDWORD lpBytesReturned );
Parameters
lpInBuf Should set to NULL.
lpInBufSize Should set to zero.
lpOutBuf Should be NULL.
nOutBufSize Should be zero.
Return Values