XtfGetCountofAppUserModelIds
Gets the count of Application User Model IDs (AUMIDs) from a package information object.
Syntax
HRESULT XtfGetCountofAppUserModelIds(
XtfPackageInfo packageInfo,
UINT32 *countOfAUMIDs
)
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)Authorization required
XtfRegisterPackage
XtfRegisterNetworkSharePackage
Additional Xtf APIs