Skip to main content

XblEventsSetMaxFileSize

Set the maximum file size for pending events files.

Syntax

Parameters

maxFileSizeInByes   
Type: uint64_t
The maximum size (in bytes) for pending events files.

Return value

Type: HRESULT HRESULT return code for this API operation.

Remarks

The files will be read into memory all at once. Note that this is a global setting and will apply to all XBOX Live contexts. The default value is 128KB.

Requirements

Header: events_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

events_c
Last modified on August 20, 2026