Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets AppDefinedZoneId to the ZoneId hint specified by the app. An app can update this field only if the file is open for read/write access; this will also update the LastWriterPackageFamilyName.
Syntax
HRESULT SetAppDefinedZoneId(
[in] DWORD zoneId
);
Parameters
- zoneId [in]
The app-defined zone ID.
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 |