IAppxManifestPackageId::ComparePublisher method (appxpackaging.h)
Compares the specified publisher with the publisher defined in the manifest.
Syntax
HRESULT ComparePublisher(
[in] LPCWSTR other,
[out, retval] BOOL *isSame
);
Parameters
[in] other
Type: LPCWSTR
The publisher name to be compared.
[out, retval] isSame
Type: BOOL*
TRUE if the specified publisher matches the package publisher; FALSE otherwise.
Return value
Type: HRESULT
If the method succeeds, it returns S_OK.
Remarks
Publisher information is specified using the Publisher attribute of the Identity element in the package manifest.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | appxpackaging.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for