REGISTRY_GET_DWORD_VALUE

Use

Retrieves specified registry DWORD value.

Arguments

[IMPORTING] root TYPE I

Registry root key to use.

Possible values:

  • HKEY_CLASSES_ROOT (0)

    registry key is in HKEY_CLASSES_ROOT section

  • HKEY_CURRENT_USER (1)

    registry key is in HKEY_CURRENT_USER section

  • HKEY_LOCAL_MACHINE (2)

    registry key is in HKEY_LOCAL_MACHINE section

  • HKEY_USERS (3)

    registry key is in HKEY_USERS section

[IMPORTING] key TYPE STRING

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

[IMPORTING] value TYPE STRING

Name of registry DWORD value to retrieve. If no value has been specified, the default value for the registry key will be retrieved.

[EXPORTING] reg_value TYPE I

Retrieved registry DWORD value.

Possible values:

  • <>999999999

    registry value was retrieved successfully

  • 999999999

    registry value could not be retrieved

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.