DeleteKey

Deletes an Internet Explorer setting that is a registry key.

Declaration

HRESULT 
DeleteKey (
    REFGUID Guid, 
    HIVEID HiveId);

in which HIVEID is an enum in the SettingStore namespace.

Parameters

The Guid argument specifies the setting to work on.

The HiveId argument specifies a logical hive for the setting. Refer to the general notes for supported cases.

Return Value

The function returns zero for success, else an error code.

Availability

The DeleteKey function is exported from IERTUTIL as ordinal 685 in version 8.0 and higher.