Please enable JavaScript to view this site.

ESL Documentation

ESLREG Subroutine

Delete the specified Windows Registry entry.

 

DeleteRegValue(integer:RegID_IV, 

string:ValueName_SV)

Parameters

RegID_IV

An integer variable that holds the handle to the currently open registry key, as opened by OpenReg.

 

ValueName_SV

The name of the registry entry to be deleted. If a null string is used, the currently open registry key will be deleted.

Returns

One of the following codes will be returned in the pseudo variable, "errorlevel":

REG_E_ERRORFREE

Operation was successful.

REG_E_BADHANDLE

The Key Handle being passed is invalid.

REG_E_NOTFOUND

Registry entry not found.

Description

This routines removes the specified Windows registry entry, or the currently open registry key, if a NULL string is used.