The Delete Key Definition routine deletes a key definition from the specified table of key definitions. Format SMG$DELETE_KEY_DEF key-table-id ,key-name [,if-state]
1 – Returns
OpenVMS usage:cond_value type: longword (unsigned) access: write only mechanism: by value
2 – Arguments
key-table-id OpenVMS usage:identifier type: longword (unsigned) access: read only mechanism: by reference Identifies the key table from which the key definition is deleted. The key-table-id argument is the address of an unsigned longword that contains the key table identifier. key-name OpenVMS usage:char_string type: character string access: read only mechanism: by descriptor String containing the name of the key whose definition is to be deleted. The key-name argument is the address of a descriptor pointing to the key name. The key name is stripped of trailing blanks and converted to uppercase before use. if-state OpenVMS usage:char_string type: character string access: read only mechanism: by descriptor String containing a state name that further qualifies key-name. The if-state argument is the address of a descriptor pointing to the state name. If omitted, the null state is used. Thus if a key has several definitions depending on various values of if-state, this routine lets you delete only one of those definitions.