Freigeben über


IAppxManifestReader3::GetCapabilitiesByCapabilityClass method

Gets an enumerator that iterates through capabilities defined in the manifest.

Syntax

HRESULT GetCapabilitiesByCapabilityClass(
  [in] APPX_CAPABILITY_CLASS_TYPE          capabilityClass,
  [in] IAppxManifestCapabilitiesEnumerator capabilities
);

Parameters

  • capabilityClass [in]
    The capability class type.

  • capabilities [in]
    The enumerator that iterates through capabilities.

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_IAppxManifestReader3 is defined as C43825AB-69B7-400A-9709-CC37F5A72D24

See also

IAppxManifestReader3