Skip to main content

XtfGetCountofAppUserModelIds

Gets the count of Application User Model IDs (AUMIDs) from a package information object.

Syntax

Parameters

packageInfo
Type: XtfPackageInfo
[in] The pointer to the information object for a package. countOfAUMIDs
Type: UINT32 *
[out] The number of AUMIDs in the package.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an error code.

Remarks

Use this function to get the count of AUMIDs available from the information object for a registered package, prior to calling the XtfGetAumid function to get the AUMID at a specific index for that package. A pointer to a package information object is returned by calling either the XtfRegisterPackage or XtfRegisterNetworkSharePackage function to register a package. You can also use the XtfGetPackageFullName function to retrieve the full name of a registered package. For more information about packages, see Packaging.

Requirements

Header: xtfapi.h Library: XtfApi.lib Supported platforms: Windows (for XBOX console tools)

See also

XTF Transport Errors (NDA topic)
XtfRegisterPackage
XtfRegisterNetworkSharePackage
Additional Xtf APIs
Last modified on August 20, 2026