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

# IsValid

> Verifica se o arquivo morto está aberto e é válido.

Verifica se o arquivo morto está aberto e é válido.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
bool IsValid(  
)  
```

<a id="parametersSection" />

### Parâmetros

Nenhum.

<a id="retvalSection" />

### Valor retornado

Tipo: bool

Retorna true se o arquivo morto estiver aberto e for válido; caso contrário, retorna false.

<a id="remarksSection" />

## Comentários

`XBTCArchiveReader_IsValid` verifica se um arquivo morto está aberto e é válido.\
Este método pode ser usado com `OpenFromMemory()` e `OpenFromFile`.
Para obter mais informações sobre `OpenFromMemory()`, confira [xbtcarchivereader\_openfrommemory](/pt-BR/reference/graphics/xbtc/interfaces/XBTCArchiveReader/methods/xbtcarchivereader_openfrommemory).
Para obter mais informações sobre `OpenFromFile`, confira [xbtcarchivereader\_openfromfile](/pt-BR/reference/graphics/xbtc/interfaces/XBTCArchiveReader/methods/xbtcarchivereader_openfromfile).

<a id="requirementsSection" />

**Cabeçalho:** XBTC.h

**Plataformas com suporte**: consoles da família XBOX One e consoles XBOX Series

<a id="seealsoSection" />

## Confira também

[XBTCArchiveReader](/pt-BR/reference/graphics/xbtc/interfaces/XBTCArchiveReader/xbtcarchivereader)
[XBTC](/pt-BR/reference/graphics/xbtc/xbtc_members)


## Related topics

- [Validate Api Policy](/api-reference/authentication/validate-api-policy.md)
- [Validar política de API](/pt-BR/services/playfab/api-references/rest/admin/authentication/validate-api-policy.md)
- [XSystemIsHandleValid](/pt-BR/reference/system/xsystem/functions/xsystemishandlevalid.md)
- [XStoreIsLicenseValid](/pt-BR/reference/system/xstore/functions/xstoreislicensevalid.md)
- [ApuIsVirtualAddressValid](/pt-BR/reference/audio/apu/functions/apuisvirtualaddressvalid.md)
