SetAttributes 

Purpose

Assigns data type related information to the object to represent.

Syntax

void SetAttributes( void* pData,
unsigned nType,
int nLen=0,
int nDecimal=0);

Parameters

pData: Pointer to the memory block where the actual data is stored.

nType: RFC type of the data.

nLen: Length of the data in bytes.

nDecimal: Decimal positions in the data.

Description

The length of the data is not required except for TYPC, TYPX, TYPNUM and TYPP.

Related Information

Init