Please enable JavaScript to view this site.

ASQL Reference

Navigation: » No topics above this level «

Delete Value

Scroll Prev Top Next More

xcall MIAMEX, MX_REGISTRY, REGOP_DELVALUE, hkey, name, status

This function deletes the value of a key.

hkey  (B,4)  [in]

must specify an open registry handle returned from a previous REGOP_OPEN operation (or may be one of the built-in hive handles, e.g., HKEY_CURRENT_USER, etc.) Note that to delete a key, the the RGKEY_DELETE access right must have been specified in the REGOP_OPEN call. To delete a value, the RGKEY_SET_VALUE access right must have been specified in the open.

name (String)  [in]

specifies the name of a value to delete.

status  (F6)  [out]

returns 0 for success, else an error code.

History

2008 October, A-Shell 5.1.1127:  Function added to A-Shell.