Deletes an Internet Explorer setting that is a registry key, allowing placeholders in the key’s name.


DeleteExtKey (
    REFGUID Guid, 
    HIVEID HiveId, 
    UINT ArgCount, 

in which HIVEID is an enum in the SettingStore namespace.


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.

The ArgCount argument specifies how many placeholders are provided as remaining arguments. Each placeholder is a PCWSTR.

Return Value

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


The DeleteExtKey function is exported from IERTUTIL as ordinal 662 in version 8.0 and higher.