This function is used to delete an attribute and associated value 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 for which the AttributeName attribute is to be deleted. |
ALPHA(n) |
AttributeName |
Character string describing the attribute associated with the KeyName key . |
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 = 'Window_Color'
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxDeleteKeyValue' KeySet KeyName AttributeName ReturnCode
List of the VaToolBx functions by topic