> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XtfGetCountofAppUserModelIds

> XtfGetCountofAppUserModelIds

# XtfGetCountofAppUserModelIds

Obtiene el recuento de identificadores de modelo de usuario de aplicación (AUMID) a partir de un objeto de información de paquete.

<a id="syntaxSection" />

## Sintaxis

```cpp theme={null}
HRESULT XtfGetCountofAppUserModelIds(
         XtfPackageInfo packageInfo,
         UINT32 *countOfAUMIDs
)  
```

<a id="parametersSection" />

### Parámetros

*packageInfo*\
Tipo: XtfPackageInfo

\[in] El puntero al objeto de información de un paquete.

*countOfAUMIDs*\
Tipo: UINT32 \*

\[out] El número de AUMID del paquete.

<a id="retvalSection" />

### Valor devuelto

Tipo: HRESULT

Devuelve `S_OK` si se realiza correctamente; de lo contrario, devuelve un código de error.

<a id="remarksSection" />

## Comentarios

Use esta función para obtener el recuento de AUMID disponibles a partir del objeto de información de un paquete registrado, antes de llamar a la función [XtfGetAumid](/reference/tools/xtf/xtfapi/functions/xtfgetaumid-xtfapi-xbox-windows-m) para obtener el AUMID en un índice específico de ese paquete. Se devuelve un puntero a un objeto de información de paquete al llamar a la función [XtfRegisterPackage](/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m) o [XtfRegisterNetworkSharePackage](/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m) para registrar un paquete.

También puede usar la función [XtfGetPackageFullName](/reference/tools/xtf/xtfapi/functions/xtfgetpackagefullname-xtfapi-xbox-windows-m) para recuperar el nombre completo de un paquete registrado. Para obtener más información sobre los paquetes, consulte [Empaquetado](/build/core-features/common/packaging/gc-packaging-toc).

## Requisitos

**Encabezado:** xtfapi.h

**Biblioteca:** XtfApi.lib

**Plataformas compatibles:** Windows (para herramientas de consola XBOX)

<a id="seealsoSection" />

## Consulte también

[Errores de transporte de XTF (tema con NDA)](/tools/tools-console/commandlinetools/xtf-transport-errors)\
[XtfRegisterPackage](/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m)\
[XtfRegisterNetworkSharePackage](/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m)\
[API de Xtf adicionales](/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [XtfRegisterNetworkSharePackage](/es/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m.md)
- [XtfGetPackageFullName](/es/reference/tools/xtf/xtfapi/functions/xtfgetpackagefullname-xtfapi-xbox-windows-m.md)
- [XtfRegisterPackageOnDrive](/es/reference/tools/xtf/xtfapi/functions/xtfregisterpackageondrive-xtfapi-xbox-windows-m.md)
- [XtfRegisterPackage](/es/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md)
- [XtfGetAumid](/es/reference/tools/xtf/xtfapi/functions/xtfgetaumid-xtfapi-xbox-windows-m.md)
