RegDeleteΒΆ

RegDelete deletes the named registry value of the current key.

bool = RegDelete(ssKey)
bool = RegDelete(ssKey, bRecursive)
bool = RegDelete(ssKey, bRecursive, options)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

ssKey

Name of the key to delete.

bRecursive

Indicates recursive delete operation is requested.

options

options is 0x0200 (KEY_WOW64_32KEY) or 0x0100 (KEY_WOW64_64KEY). This parameter is optional. Default value depends on the bit value of uniplot.exe.

Example

b = RegConnect("HKEY_CURRENT_USER");
b = RegOpen("Software\\RSB\\UniPlot");
// Deletes the named registry value of the current key.
print RegDelete("Stringtable");

History

Version Description
R2014.4 Parameter options added.
R2012.5 New parameter bRecursive.
3.0 New.

id-1667016