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

# XGameSaveGetRemainingQuotaResult

> XGameSaveGetRemainingQuotaResult

# XGameSaveGetRemainingQuotaResult

[XGameSaveGetRemainingQuotaAsync](https://docs.xbox.com/ja-jp/reference/system/xgamesave/functions/xgamesavegetremainingquotaasync.md) 関数の結果を取得します。

## Syntax

```cpp theme={null}
HRESULT XGameSaveGetRemainingQuotaResult(  
         XAsyncBlock* async,  
         int64_t* remainingQuota  
)  
```

### Parameters

*async*   \_In\_\
型: [XAsyncBlock\*](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md)

[XGameSaveGetRemainingQuotaAsync](https://docs.xbox.com/ja-jp/reference/system/xgamesave/functions/xgamesavegetremainingquotaasync.md) 関数から渡された [XAsyncBlock\*](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md)。

*remainingQuota*   \_Out\_\
型: int64\_t\*

ストレージとして使用できるデータ量。

### Return value

型: HRESULT

関数の結果。

アプリケーションがユーザーに関するデータを格納するスペースがなくなった場合は **E\_GS\_QUOTA\_EXCEEDED** を返す場合があります。それ以外の場合は正常に返します。

## Remarks

この関数は、[XGameSaveGetRemainingQuotaAsync](https://docs.xbox.com/ja-jp/reference/system/xgamesave/functions/xgamesavegetremainingquotaasync.md) のコールバック関数の一部として呼び出します。この関数を使用すると、[XGameSaveGetRemainingQuotaAsync](https://docs.xbox.com/ja-jp/reference/system/xgamesave/functions/xgamesavegetremainingquotaasync.md) 呼び出しの結果を取得できます。これには、エラーを特定するのに役立つ関数の結果と、要求された残りクォータの値が含まれます。Result メソッドは、通常、後で呼び出す非同期呼び出しとインラインで記述されますが、別の関数として記述することもできます。

## Requirements

**ヘッダー:** XGameSave.h

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

## Conceptual documentation

* [Asynchronous Programming Model](https://docs.xbox.com/ja-jp/build/core-features/common/async/async-programming-model.md)

## See also

[XGameSave](https://docs.xbox.com/ja-jp/reference/system/xgamesave/xgamesave_members.md)\
[XGameSaveGetRemainingQuotaAsync](https://docs.xbox.com/ja-jp/reference/system/xgamesave/functions/xgamesavegetremainingquotaasync.md)\
[Debugging Game Saves](https://docs.xbox.com/ja-jp/build/core-features/common/game-save/game-saves-debugging.md)


## Related topics

- [XGameSaveGetRemainingQuotaAsync](https://docs.xbox.com/ja-jp/reference/system/xgamesave/functions/xgamesavegetremainingquotaasync.md)
- [非同期プログラミング モデル](https://docs.xbox.com/ja-jp/build/core-features/common/async/async-programming-model.md)
- [XAsyncGetResultSize](https://docs.xbox.com/ja-jp/reference/system/xasync/functions/xasyncgetresultsize.md)
- [XGameSave (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xgamesave/xgamesave_members.md)
- [Unity プロジェクトでの GDK API 用 C# ラッパーの使用](https://docs.xbox.com/ja-jp/build/gdk-and-engines/unity/unity-api-wrappers.md)
