IZoneIdentifier2::SetLastWriterPackageFamilyName method
Sets the LastWriterPackageFamilyName of the last Store App to write the file. If the existing last writer is different from the current writer, AppDefinedZoneId is cleared.
Syntax
HRESULT SetLastWriterPackageFamilyName(
[in] LPWSTR packageFamilyName
);
Parameters
- packageFamilyName [in]
The PackageFamilyName of the last writer.
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 |