REGISTRY_DELETE_VALUE

Use

Deletes the specified registry value.

Arguments

[IMPORTING] root TYPE I

Registry root key to use.

Possible values:

  • HKEY_CLASSES_ROOT (0)

    registry value in HKEY_CLASSES_ROOT section should be deleted

  • HKEY_CURRENT_USER (1)

    registry value in HKEY_CURRENT_USER section should be deleted

  • HKEY_LOCAL_MACHINE (2)

    registry value in HKEY_LOCAL_MACHINE section should be deleted

  • HKEY_USERS (3)

    registry value in HKEY_USERS section should be deleted

[IMPORTING] key TYPE STRING

String containing name (including path from root key) to parent registry key.

[IMPORTING] value TYPE STRING

Name of registry value to delete.

[EXPORTING] rc TYPE I

Return code specifying whether the registry value was deleted successfully or not.

Possible values:

  • 0

    registry value could not be deleted

  • 1

    registry value was deleted successfully

Exceptions

CNTL_ERROR

Thrown if neither Windows nor Java nor Web GUI is being used or the corresponding front end method could not be called.

ERROR_NO_GUI

Currently not used.

NOT_SUPPORTED_BY_GUI

Raised if Java or Web GUI is being used.

REGISTRY_DELETE_VALUE_FAILED

This exception is fired if no name for the registry value to delete has been specified.