beautypg.com

Return value, Portability, Functions to get/set misc parameters – Rockwell Automation 6182 SDK User Manual

Page 70

background image

4–30

RAC6182-Specific Extensions to the CE API

Publication 6182-UM002B-EN-P

dwStorePages the number of 4KB pages to be allocated to the system.

Important: Windows CE V2.12 could exhibit problems if more than

32MB of DRAM is allocated to the system.

Return Value
TRUE if successful, otherwise FALSE.

Portability
This function is specific to the RAC6182 hardware.

The functions described here may be called by an application program to
get or set the values of certain system parameters.

The following table enumerates currently defined parameters that can be
accessed with these functions. Type of data, minimum size, and whether
set, get, or both are allowed are given. This table may be expanded in
the future to add new parameter types without adding new functions.

Table I
Get/Set Misc Parameters

Parameter

Macro Identifier

Get or

Set

Type

Size

(Bytes)

Physical
Memory Size

RM_PARAMETER_PHYSICAL_MEMORY_SIZE

Get

DWORD

4

Pointer to
Cached
Physical
Memory

RM_PARAMETER_PHYSICAL_MEMORY_CACHED_POINTER

Get

void *

4

Pointer to
Uncached
Physical
Memory

RM_PARAMETER_PHYSICAL_MEMORY_UNCACHED_POINT
ER

Get

void *

4

CPU Speed
(Hz)

RM_PARAMETER_CPU_SPEED_HZ

Get

DWORD

4

Windows CE
Version

RM_PARAMETER_WINDOWS_CE_VERSION

Get

WCHAR

80 x 2

Operating
System Boot
Image Version

RM_PARAMETER_OS_FIRMWARE_VERSION

Get

WCHAR

80 x 2

Boot ROM
Firmware
Version

RM_PARAMETER_BOOTROM_FIRMWARE_VERSION

Get

WCHAR

80 x 2

Aux Micro-
controller
Firmware
Version

RM_PARAMETER_MICROCONTROLLER_FIRMWARE_VERSI
ON

Get

WCHAR

80 x 2

Functions to Get/Set Misc

Parameters

This manual is related to the following products: