IAppxManifestPackageId::GetArchitecture method
Gets the processor architecture as defined in the manifest.
Syntax
HRESULT GetArchitecture( [out, retval] APPX_PACKAGE_ARCHITECTURE *architecture );
Parameters
- architecture [out, retval]
-
Type: APPX_PACKAGE_ARCHITECTURE*
The architecture specified for the package.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Processor architecture information is specified using the ProcessorArchitecture attribute of the Identity element in the package manifest.
If no architecture is defined in the manifest, this method returns the APPX_PACKAGE_ARCHITECTURE_NEUTRAL value of the APPX_PACKAGE_ARCHITECTURE enumeration.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IAppxManifestPackageId is defined as 283ce2d7-7153-4a91-9649-7a0f7240945f |
See also