This function is used to read the array value (NUM_E or NUM_P format) associated with an attribute for a given key in the registry.
Context
Windows client,
Windows server.
Parameters
NUM_BIN_2 |
KeySet |
Value describing the subset of keys stored in the registry. HKEY_CLASSES_ROOT: value "0", |
ALPHA(n) |
KeyName |
Path leading to the key in which the AttributeName attribute is to be read. |
ALPHA(n) |
AttributeName |
Character string describing the attribute associated with the KeyName key . |
NUM_E(Ln,NbDecimals) AttributeValue(Size) or |
||
|
|
Result array associated with the AttributeName attribute. |
NUM_BIN_2 |
Ln |
Length of a cell in the AttributeValue array. |
NUM_BIN_2 |
NbDecimals |
Number of decimal places in a cell of the AttributeValue array. |
NUM_BIN_2 |
Size |
Size of the AttributeValue array. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was successful. *FALSE if the key or attribute is not present in the specified subset. |
Example
KeySet = 1
KeyName = 'Application\Startup_Options'
AttributeName = 'Services_Rates'
Ln = 2
NbDecimals = 0
Size = 2
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxReadKeyValueArrayNum' KeySet KeyName AttributeName AttributeValue Ln NbDecimals Size OK
List of the VaToolBx functions by topic