XtfGetCountofAppUserModelIds
Gets the count of Application User Model IDs (AUMIDs) from a package information object.Syntax
Parameters
packageInfoType: 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 ReturnsS_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
