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

# XblEventsSetMaxFileSize

> XblEventsSetMaxFileSize

# XblEventsSetMaxFileSize

Define o tamanho máximo dos arquivos de eventos pendentes.

## Sintaxe

```cpp theme={null}
HRESULT XblEventsSetMaxFileSize(  
         uint64_t maxFileSizeInByes  
)  
```

### Parâmetros

*maxFileSizeInByes*   \
Tipo: uint64\_t

O tamanho máximo (em bytes) dos arquivos de eventos pendentes.

### Valor retornado

Tipo: HRESULT

Código de retorno HRESULT para esta operação de API.

## Comentários

Os arquivos serão lidos na memória de uma só vez. Observe que esta é uma configuração global e se aplicará a todos os contextos do XBOX Live. O valor padrão é 128 KB.

## Requisitos

**Cabeçalho:** events\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Confira também

[events\_c](/pt-BR/reference/live/xsapi-c/events_c/events_c_members)


## Related topics

- [XblEventsSetMaxFileSize](/reference/live/xsapi-c/events_c/functions/xbleventssetmaxfilesize.md)
- [FileSet](/services/playfab/api-references/events/data-types/fileset.md)
- [XblEventsSetStorageAllotment](/reference/live/xsapi-c/events_c/functions/xbleventssetstorageallotment.md)
- [XblTitleStorageBlobMetadata](/reference/live/xsapi-c/title_storage_c/structs/xbltitlestorageblobmetadata.md)
- [Events](/services/xbox-services/player-data/stats-leaderboards/event-based/events/index.md)
