beautypg.com

Rm_setparameter – Rockwell Automation 2711P Software Development Kit User Manual User Manual

Page 46

background image

Publication 2711P-UM005A-EN-P - March 2007

46 PanelView Plus CE-Specific Extensions to the WinCE API

Return Values:

Remarks:

The buffer at *pvData must be large enough to contain the
information requested and must be aligned as required. For example,
if a request for a parameter will result in *pvData being filled with a
DWORD value, *pvData MUST be DWORD aligned. Please refer to
Table above for the data types associated with the various readable
parameters.

Portability:

Please refer to Table above for an enumeration of which parameters
are supported on the platforms.

Requirements:

rm_SetParameter

This function sets a System Parameter.

DWORD rm_SetParameter (DWORD dwParameter, DWORD
*pdwSize, VOID *pvData);

Parameters:

dwParameter

This parameter must be one of the values in System Parameters on
page 42.

Get/Set System Parameter - Return Codes

Value

Description

RM_ERROR_OK

Success

RM_ERROR_INVALID_PARAMETER

Bad dwParameter, or NULL dwSize or pvData

RM_ERROR_INVALID_BUFFER_SIZE

Buffer size too small for requested parameter.

Runs On

Version

Defined In

Link To

PanelView Plus CE

RAC6182

All

Miscsystem.h

Miscsystem.lib