function RegDeleteKeyIfEmpty(const RootKey: Integer; const SubkeyName: String): Boolean;
Deletes the specified subkey if it has no subkeys or values. Returns True if successful, False otherwise.