> ## 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.

# XtfGetPackageFullName

> XtfGetPackageFullName

# XtfGetPackageFullName

Obtiene el nombre completo del paquete a partir de un objeto de información de paquete.

<a id="syntaxSection" />

## Sintaxis

```cpp theme={null}
HRESULT XtfGetPackageFullName(
         XtfPackageInfo packageInfo,
         PWSTR packageFullName,
         UINT32 *packageFullNameBufferLength
)  
```

<a id="parametersSection" />

### Parámetros

*packageInfo*\
Tipo: XtfPackageInfo

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

*packageFullName*\
Tipo: PWSTR

\[out, optional] El nombre completo del paquete.

*packageFullNameBufferLength*\
Tipo: UINT32 \*

\[in, out] La longitud, en `WCHAR`, asignada para `packageFullName`.

### Valor devuelto

Tipo: HRESULT

Devuelve `S_OK` si se ejecuta correctamente. Si `packageFullName` no es lo suficientemente grande, esta función devuelve `HRESULT_FROM_WIN32(ERROR_MORE_DATA)` y la longitud de búfer necesaria se devuelve en `packageFullNameBufferLength`.

<a id="remarksSection" />

## Comentarios

Use esta función para obtener el nombre completo del paquete a partir del objeto de información de un paquete registrado. 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 las funciones [XtfGetCountofAppUserModelIds](/reference/tools/xtf/xtfapi/functions/xtfgetcountofappusermodelids-xtfapi-xbox-windows-m) y [XtfGetAumid](/reference/tools/xtf/xtfapi/functions/xtfgetaumid-xtfapi-xbox-windows-m) para recuperar los identificadores de modelo de usuario de aplicación (AUMID) de un paquete registrado. Para obtener más información sobre los paquetes, consulte [Empaquetado](/build/core-features/common/packaging/gc-packaging-toc).

El nombre completo del paquete se usa en las operaciones de administración de la duración de la plataforma que se encuentran en la interfaz [IXtfApplicationClient](/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t).

## Requisitos

**Encabezado:** xtfapi.h

**Biblioteca:** XtfApi.lib

**Plataformas compatibles:** Windows (para las 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

- [XtfGetTitleOSState](/es/reference/tools/xtf/xtfapi/functions/xtfgettitleosstate-xtfapi-xbox-windows-m.md)
- [XtfRegisterNetworkSharePackage](/es/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m.md)
- [XtfGetTitleOSFourPartVersion](/es/reference/tools/xtf/xtfapi/functions/xtfgettitleosfourpartversion-xtfapi-xbox-windows-m.md)
- [XtfRegisterPackage](/es/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md)
- [XtfRegisterPackageOnDrive](/es/reference/tools/xtf/xtfapi/functions/xtfregisterpackageondrive-xtfapi-xbox-windows-m.md)
