Skip to main content
IZoneIdentifier2::GetAppDefinedZoneId method

Gets the app-defined zone ID set by the last writer.

Syntax


HRESULT GetAppDefinedZoneId(
  [out] DWORD *zoneId
);

Parameters

zoneId [out]

The app-defined zone ID.

Return value

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

Remarks

Reads from 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