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

保留中のイベント ファイルの最大ファイル サイズを設定します。

## 構文

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

### パラメーター

*maxFileSizeInByes*   \
型: uint64\_t

保留中のイベント ファイルの最大サイズ (バイト単位)。

### 戻り値

型: HRESULT

この API 操作の HRESULT 戻り値コード。

## 解説

ファイルは一度にすべてメモリに読み込まれます。これはグローバル設定であり、すべての XBOX Live コンテキストに適用されることに注意してください。既定値は 128KB です。

## 要件

**ヘッダー:** events\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

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


## Related topics

- [HCWebSocketSetMaxReceiveBufferSize](/ja-jp/reference/live/httpclient/httpclient/functions/hcwebsocketsetmaxreceivebuffersize.md)
- [FileSet](/ja-jp/services/playfab/api-references/events/data-types/fileset.md)
- [entity_files_set](/ja-jp/services/playfab/api-references/events/PlayerProfile/entity-files-set.md)
- [XblMultiplayerSessionConstantsSetMaxMembersInSession](/ja-jp/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionconstantssetmaxmembersinsession.md)
- [XAppCaptureScreenshotFile](/ja-jp/reference/system/xappcapture/structs/xappcapturescreenshotfile.md)
