HP NonStop G-Series User Manual
Page 93

Data Conversion Library
Data Conversion
110838 Tandem Computers Incorporated
6–7
nTwosCompNumberLength Length of Tandem two's complement number in bytes
(must be 1, 2, 4, or 8).
nSignType
Indicates whether the Tandem two's complement
number is signed
TDMGW_CONV_BIN_SIGNED = Sign
TDMGW_CONV_NOT_SIGNED = No sign
nDecimalPlaces
Number of implied decimal places in the Tandem two's
complement number. If this value is negative, then this
is the scaling of the Tandem representation.
TdmgwConvTdmAlphaNumToCfText
This function converts strings from Tandem alphanumeric data representation to
CF_TEXT clipboard format (null character terminated string).
Function Prototype
void FAR PASCAL TdmgwConvTdmAlphaNumToCfText
(char far * lpElementValue,
out
char far * lpAlphaNum,
in
int nCString,
in
int nAlphaNumLength);
in
Parameters
lpElementValue
Pointer to the start of where the converted string is placed.
lpAlphaNum
Pointer to the alphanumeric string to be converted.
nCString
Zero = Don't convert trailing spaces from lpAlphaNum.
Nonzero = Stop converting at the first null character in
lpAlphaNum.
nAlphaNumLength
Maximum number of characters to be converted from
lpAlphaNum.
TdmgwConvTdmDispNumToCfText
This function converts strings from Tandem numeric display data representation to
CF_TEXT clipboard format (null character terminated string).
Function Prototype
void FAR PASCAL TdmgwConvTdmDispNumToCfText
(char far * lpElementValue,
out
char far * lpDisplayNumber,
in
int nDisplayNumberLength,
in
int nSignType,
in
int nDecimalPlaces);
in