IAppxManifestReader4::GetOptionalPackageInfo method

Gets the optional package information.

Syntax

HRESULT GetOptionalPackageInfo(
  [out, retval] IAppxManifestOptionalPackageInfo **optionalPackageInfo
);

Parameters

  • optionalPackageInfo [out, retval]
    The optional package information.

Return value

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

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxManifestReader4 is defined as 4579BB7C-741D-4161-B5A1-47BD3B78AD9B

See also

IAppxManifestReader4