Parameterization ("save") Functions

Parameterization functions save a value of the specified type to a character string parameter. Parameterization functions take the form:

lrc_save_<Type-Name>( const char* param_name, param_type value);

The value is converted from the <Type-Name>to a character string and stored in param_name. Following is the list of the functions:


lrc_save_short_by_ref
Saves a short integer reference as a string.
lrc_save_ascii_BSTR
lrc_save_ascii_BSTR_by_ref
Saves an ascii BSTR as a string.
Saves an ascii BSTR reference as a string.
lrc_save_bool
lrc_save_bool_by_ref
Saves a Boolean value as a string.
Saves a Boolean reference as a string.
lrc_save_BSTRSaves a BSTR as a string.
lrc_save_BSTR1Saves a BSTR string which may include nulls.
lrc_save_BYTE
lrc_save_BYTE_by_ref
Saves a BYTE value as a string.
Saves a BYTE reference as a string.
lrc_save_char
lrc_save_char_by_ref
Saves a char integer value as a string.
Saves a char integer reference as a string.
lrc_save_currency
lrc_save_currency_by_ref
Saves a currency value as a string.
Saves a currency reference as a string.
lrc_save_date
lrc_save_date_by_ref
Saves a date value as a string.
Saves a date reference as a string.
lrc_save_double
lrc_save_double_by_ref
Saves a double floating point number value as a string.
Saves a double floating point number reference as a string.
lrc_save_dwordSaves a DWORD integer value as a string.
lrc_save_float
lrc_save_float_by_ref
Saves a float-type value as a string.
Saves a float-type reference as a string.
lrc_save_hyper
lrc_save_hyper_by_ref
Saves a hyper integer value as a string.
Saves a hyper integer reference as a string.
lrc_save_int
lrc_save_int_by_ref
Saves an integer value as a string.
Saves an integer reference as a string.
lrc_save_long
lrc_save_long_by_ref
Saves a long integer value as a string.
Saves a long integer reference as a string.
lrc_save_rs_paramSaves the specified field of an ADO recordset as a string.
lrc_save_rowset_dataSaves the row data of an ADO recordset as the specified type.
lrc_save_shortSaves a short integer value as a string.
lrc_save_uhyper
lrc_save_uhyper_by_ref
Saves an unsigned hyper integer value as a string.
Saves an unsigned hyper integer reference as a string.
lrc_save_uintSaves an unsigned integer value as a string.
lrc_save_uint
lrc_save_uint_by_ref
Saves an unsigned integer value as a string.
Saves an unsigned integer reference as a string.
lrc_save_ulong
lrc_save_ulong_by_ref
Saves an unsigned long value as a string.
Saves a unsigned long reference as a string.
lrc_save_ulongSaves an unsigned long value as a string.
lrc_save_ushortSaves an unsigned short integer value as a string.
lrc_save_ushort
lrc_save_ushort_by_ref
Saves a unsigned short integer value as a string.
Saves a unsigned short integer reference as a string.
lrc_save_VARIANTSaves a value of any data type from a variant to a string.
lrc_save_variant_<Type-Name> Saves a value of a specific data type from a variant to a string.
lrc_save_variant_<Type-Name>_by_refSaves a value stored by reference in a variant, to a string.
lrc_save_wstringConverts a wide string to a multi-byte and saves the multi-byte value in a string parameter.