Getparameter, Syntax, Remarks – Rockwell Automation 6182 SDK User Manual
Page 71

RAC6182-Specific Extensions to the CE API
4–31
Publication 6182-UM002B-EN-P
Parameter
Macro Identifier
Get or
Set
Type
Size
(Bytes)
Debug output
on COM2
RM_PARAMETER_ENABLE_SERIAL_DEBUG_ON_BOOT
Both
BOOL
4
LCD
Brightness
RM_PARAMETER_LCD_BRIGHTNESS
Both
DWORD
4
LCD Contrast
RM_PARAMETER_LCD_CONTRAST
Both
DWORD
4
MAC Addr of
on board
Ethernet
RM_PARAMETER_ONBOARD_ETHERNET_MAC_ADDRESS
Get
UCHAR
6
Cursor Status
RM_PARAMETER_CURSOR_ENABLED
Both
BOOL
4
Debug output
on COM2
RM_PARAMETER_ENABLE_SERIAL_DEBUG
Both
BOOL
4
Memory
pointer
RM_PARAMETER_PHYSICAL_ADDRESS (CE V3.0 SDK only)
Get
void *
4
GetParameter
This function gets parameters. It is prototyped in miscsystem.h.
Syntax
#include
#include
DWORD rm_GetParameter(DWORD dwParameter, DWORD *dwSize, VOID
*pvData)
Remarks
dwParameter may be evaluated with any one of the following macros
defined in miscsystem.h in order to select the system parameter value to
be retrieved:
RM_PARAMETER_PHYSICAL_MEMORY_SIZE
RM_PARAMETER_PHYSICAL_MEMORY_CACHED_POINTER
RM_PARAMETER_PHYSICAL_MEMORY_UNCACHED_POINTER
RM_PARAMETER_CPU_SPEED_HZ
RM_PARAMETER_WINDOWS_CE_VERSION
RM_PARAMETER_OS_FIRMWARE_VERSION
RM_PARAMETER_BOOTROM_FIRMWARE_VERSION
RM_PARAMETER_MICROCONTROLLER_FIRMWARE_VERSION
RM_PARAMETER_ENABLE_SERIAL_DEBUG_ON_BOOT
RM_PARAMETER_LCD_BRIGHTNESS