IZoneIdentifier2::RemoveAppDefinedZoneId method

Removes the AppDefinedZoneId, effectively resetting it to the system default.

Syntax

HRESULT RemoveAppDefinedZoneId();

Parameters

This method has no parameters.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Writes to the Zone.Identifier alternate data stream.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016

Header

Urlmon.h

IDL

Urlmon.idl

See also

IZoneIdentifier2