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

Obtém o nome completo do pacote de um objeto de informações do pacote.

<a id="syntaxSection" />

## Sintaxe

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

<a id="parametersSection" />

### Parâmetros

*packageInfo*\
Tipo: XtfPackageInfo

\[in] Um ponteiro para o objeto de informações de um pacote.

*packageFullName*\
Tipo: PWSTR

\[out, optional] O nome completo do pacote.

*packageFullNameBufferLength*\
Tipo: UINT32 \*

\[in, out] O comprimento, em `WCHAR`, alocado para `packageFullName`.

### Valor retornado

Tipo: HRESULT

Retorna `S_OK` se for bem-sucedido. Se `packageFullName` não for grande o suficiente, essa função retornará `HRESULT_FROM_WIN32(ERROR_MORE_DATA)` e o comprimento de buffer necessário será retornado em `packageFullNameBufferLength`.

<a id="remarksSection" />

## Comentários

Use essa função para obter o nome completo do pacote do objeto de informações de um pacote registrado. Um ponteiro para um objeto de informações do pacote é retornado ao chamar a função [XtfRegisterPackage](/pt-BR/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m) ou [XtfRegisterNetworkSharePackage](/pt-BR/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m) para registrar um pacote.

Você também pode usar as funções [XtfGetCountofAppUserModelIds](/pt-BR/reference/tools/xtf/xtfapi/functions/xtfgetcountofappusermodelids-xtfapi-xbox-windows-m) e [XtfGetAumid](/pt-BR/reference/tools/xtf/xtfapi/functions/xtfgetaumid-xtfapi-xbox-windows-m) para recuperar as AUMIDs (Application User Model IDs) de um pacote registrado. Para obter mais informações sobre pacotes, confira [Empacotamento](/pt-BR/build/core-features/common/packaging/gc-packaging-toc).

O nome completo do pacote é usado nas operações de gerenciamento do tempo de vida da plataforma encontradas na interface [IXtfApplicationClient](/pt-BR/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t).

## Requisitos

**Cabeçalho:** xtfapi.h

**Biblioteca:** XtfApi.lib

**Plataformas com suporte:** Windows (para ferramentas de console XBOX)

<a id="seealsoSection" />

## Confira também

[Erros de transporte do XTF (tópico sob NDA)](/pt-BR/tools/tools-console/commandlinetools/xtf-transport-errors)\
[XtfRegisterPackage](/pt-BR/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m)\
[XtfRegisterNetworkSharePackage](/pt-BR/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m)\
[APIs adicionais do Xtf](/pt-BR/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

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