Chapter 3 — Configuring the Computer

Example

[CEDevice]

UnsupportedPlatforms = pltfrm1 ; pltfrm1 is unsupported

[CEDevice.SH3]

UnsupportedPlatforms = ; pltfrm1 is still unsupported

VersionMin minor_version Numeric value returned by OSVERSIONINFO.dwVersionMinor. The .cab file is valid for the currently connected device if the version of this device is greater than or equal to VersionMin.

VersionMax major_version Numeric value returned by OSVERSIONINFO.dwVersionMajor. The .cab file is valid for the currently connected device if the version of this device is less than or equal to VersionMax.

BuildMin build_number Numeric value returned by OSVERSIONINFO.dwBuildNumber. The .cab file is valid for the currently connected device if the version of this device is greater than or equal to BuildMin.

BuildMax build_number Numeric value returned by OSVERSIONINFO.dwBuildNumber. The .cab file is valid for the currently connected device if the version of this device is less than or equal to BuildMax.

Example

The following code example shows three [CEDevice] sections: one that gives basic information for any CPU and two that are specific to the SH3 and the MIPS microprocessors.

[CEDevice] ; A “template” for all platforms UnsupportedPlatforms = pltfrm1; Does not support pltfrm1

;The following specifies version 1.0 devices only. VersionMin = 1.0

VersionMax = 1.0

[CEDevice.ARM]; Inherits all [CEDevice] settings

; This will create a .CAB file specific to ARM devices.

ProcessorType = 2577; ARM .cab file is valid for ARM microprocessors. UnsupportedPlatforms = ; pltfrm1 is still unsupported

;The following overrides the version settings so that no version checking is performed.

VersionMin = VersionMax =

[CEDevice.MIPS] ; Inherits all [CEDevice] settings

;This will create a .CAB file specific to “MIPS” devices. ProcessorType = 4000; MIPS .CAB file is valid for MIPS microprocessor. UnsupportedPlatforms =pltfrm2; pltfrm1, pltfrm2 unsupported for MIPs .CAB file.

Note: To create the two CPU-specific .cab files for the Setup.inf file in the previous example, run the CAB Wizard with the “/cpu arm mips” parameter.

751G Color Mobile Computer User’s Manual

55

Page 69
Image 69
Intermec 751G user manual CEDevice.SH3