> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetQuota

> セーブ ゲーム ラッパーを使用して保存できるデータ量を返します。

# Microsoft.Xbox.Wrappers.XGameSave.Provider.GetQuota

セーブ ゲーム ラッパーを使用して保存できるデータ量を返します。

## 構文

```cpp theme={null}
int64_t GetQuota();
```

### 戻り値

型: int64\_t

ストレージ領域内で引き続き利用可能なバイト数を返します。

## 解説

各ゲームには、特定のユーザーに対して保存できるデータ量に制限のあるクォータがあります。このクォータを超えた場合、追加のデータを保存しようとすると E\_GS\_QUOTA\_EXCEEDED で失敗します。正確なビューを提供するため、未処理の書き込み、更新、または削除は、いずれも残りのクォータを変更する可能性があるため、返す前に必ず先に処理されます。

## 要件

**ヘッダー:** xgamesavewrappers.hpp

**サポート対象プラットフォーム:** Windows、XBOX One ファミリー本体、XBOX Series 本体


## Related topics

- [Steam Cloud ストレージを XBOX GDK に移植する](https://docs.xbox.com/ja-jp/build/steam-porting-guide/features/steam-cloud.md)
- [Microsoft.Xbox.Wrappers.XGameSave.Provider リファレンス](https://docs.xbox.com/ja-jp/reference/system/Wrappers/classes/provider/xgamesave_wrapper_provider.md)
- [Get Title Multiplayer Servers Quotas](https://docs.xbox.com/api-reference/multiplayerserver/get-title-multiplayer-servers-quotas.md)
- [XGameSaveGetRemainingQuota](https://docs.xbox.com/ja-jp/reference/system/xgamesave/functions/xgamesavegetremainingquota.md)
- [Get Title Multiplayer Servers Quota Change](https://docs.xbox.com/api-reference/multiplayerserver/get-title-multiplayer-servers-quota-change.md)
