The function is handy to remove a key
from the Windows Registry Database.
IMPORTANT: Note that while creating a key any number of
subkeys can be created with single call to V32RegCreateKey() but while
deleting a key last subkey must have been deleted prior to deleting the
higher order key. Thus in,
cKey := "HKEY_CURRENT_USER\Software\Vouch32\VouchIni"
the subkeys "VouchIni" under the subkey "Vouch32"
under the subkey "Software" under the base key
"HKEY_CURRENT_USER" will all be created at once with
V32RegCreateKey( cKey, @cError )
But while deleting the subkeys "VouchIni" and
"Vouch32", you need to issue two separate commands to achieve
the desired results, e.g.,
V32RegDeleteKey(
"HKEY_CURRENT_USER\Software\Vouch32\VouchIni" )
V32RegDeleteKey( "HKEY_CURRENT_USER\Software\Vouch32" )
And there is no way to bypass this protocol.