Intermec CN30 User Manual page 124

Hide thumbs Also See for CN30:
Table of Contents

Advertisement

Chapter 7 — Programming
an .INF file string, as specified in Win32 documentation. This will not
work under the [Strings] section.
S Do not use .INF or .CAB files created for Windows CE to install applications
on Windows-based desktop platforms.
S Ensure the MAKECAB.EXE and CABWIZ.DDF files, included with
Windows CE, are in the same directory as CABWIZ.EXE.
S Use the full path to call CABWIZ.EXE.
S Do not create a .CAB file with the MAKECAB.EXE file included with
Windows CE. You must use CABWIZ.EXE, which uses
MAKECAB.EXE to generate the .CAB files for Windows CE.
S Do not set the read-only attribute for .CAB files.
Customization and Lockdown
Although many customers want a CE .NET device, some customers would
prefer that their users not have access to all of the CE .NET features. Intermec
cannot customize the operating system in any way but a custom
application can:
Delete items from the Start menu, and Programs folder. These items are just shortcuts in the file system so the appli-
cation
is not really being deleted. Cold booting the device does bring these items back so the application will need
to run on every cold boot.
Use the RegFlushKey() API to save a copy of the registry to a storage device. See the 751G Management Tools por-
tion
of the Intermec Developer's Library CD for more information on how to do this. Saving a copy of the registry
restores most system settings in a cold boot situation.
Use the SHFullScreen() API in conjunction with other APIs to make the application take up the entire display and
prevent the start menu from being available.
Remap keys and disable keys on the keypad.
Create a custom SIP.
Make changes to the registry to configure the device.
Kernel I/O Controls
This describes the KernelIoControl() functions available to application
programmers. Most C++ applications need to prototype the function as
the following to avoid link and compile errors.
extern ìCî BOOL KernelIoControl(DWORD dwIoControlCode, LPVOID lpInBuf, DWORD
nInBufSize, LPVOID lpOutBuf, DWORD nOutBufSize, LPDWORD lpBytesReturned);
IOCTL_HAL_GET_DEVICE_INFO
This IOCTL returns either the platform type or the OEMPLATFORM
name based on an input value.
Syntax
BOOL KernelIoControl( IOCTL_HAL_GET_DEVICE_INFO, LPVOID
lpInBuf, DWORD nInBufSize, LPVOID lpOutBuf, DWORD
nOutBufSize, LPDWORD lpBytesReturned );
Parameters
144
CN30 Mobile Computer User's Manual

Advertisement

Table of Contents
loading

Table of Contents