beautypg.com

Software development programming tips, Allegro cx identification, Platform name – Juniper Systems Allegro CX Manual User Manual

Page 235: Windows ce version

background image

Allegro CX Owner’s Manual 235

Software Development Programming Tips

To help programmers developing software for the Allegro CX, we
have included the following programming tips. We recommend that
you refer to Windows CE .NET programming reference books to
assist you in your software development.

Allegro CX Identifi cation

When installing your applications, you need to determine if certain
peripherals are available. There could be reasons you need to know
the following specifi c information about your Allegro CX device:

Platform name

Allegro CX

Windows CE version and Build
Number

Version 4.20 (Major 4, Minor 20)
Build 0

Internal storage device name

C_Drive

PC card storage device name
(English version)

Storage Card

To uniquely identify an Allegro CX device by serial number, refer to
the section Allegro Specifi c APIs.

Platform Name

The combination of Windows CE .NET operating system and the
hardware that it runs on is called a platform. Common platform
names are Pocket PC, HPC, HPC Pro, etc. The Allegro’s platform
name is Allegro CX.

To discover the platform name in an application program, call Sys
temParametersInfo(uiAction, uiParam, pvParam, 0) with uiAction
equal to SPI_GETPLATFORMTYPE. The uiParam parameter
specifi es the length of the buffer in pvParam, which on successful
return contains the platform name in Unicode characters.

Windows CE Version

There are two numbers used to identify the operating system, the
version number and the build number. An Allegro running Windows
CE .NET uses Windows CE version 4.20, Build 0. To locate the
version number, complete the following steps:

Tap on Start | Settings | Control Panel on your Allegro’s desktop.

Double-tap on the System icon.

Tap on the General tab. This tab displays the version of the
Windows CE operating system.

1)

2)

3)