IAppxManifestOptionalPackageInfo::GetIsOptionalPackage method

Determines whether the package is optional.

Syntax


HRESULT GetIsOptionalPackage(
  [out, retval] BOOL *isOptionalPackage
);

Parameters

isOptionalPackage [out, retval]

True if the package is optional, false otherwise.

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_IAppxManifestOptionalPackageInfo is defined as 2634847D-5B5D-4FE5-A243-002FF95EDC7E

See also

IAppxManifestOptionalPackageInfo

 

 

Show: