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

# XblTitleStorageGetQuotaResult

> XblTitleStorageGetQuotaResult

# XblTitleStorageGetQuotaResult

取得已完成之 XblTitleStorageGetQuotaAsync 作業的結果。

## 語法

```cpp theme={null}
HRESULT XblTitleStorageGetQuotaResult(  
         XAsyncBlock* async,  
         size_t* usedBytes,  
         size_t* quotaBytes  
)  
```

### 參數

*async*   \_In\_\
類型：XAsyncBlock\*

傳遞給 XblTitleStorageGetQuotaAsync 的同一個 AsyncBlock。

*usedBytes*   \_Out\_\
類型：size\_t\*

傳回 StorageType 類型之遊戲儲存體中已使用的位元組數。

*quotaBytes*   \_Out\_\
類型：size\_t\*

傳回 StorageType 類型之遊戲儲存體中可使用的最大位元組數。請注意，這是軟性限制，已使用的位元組數實際上可能超過此值。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 需求

**標頭：** title\_storage\_c.h

**程式庫：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另請參閱

[title\_storage\_c](/zh-TW/reference/live/xsapi-c/title_storage_c/title_storage_c_members)


## Related topics

- [XblTitleStorageGetQuotaResult](/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetquotaresult.md)
- [XblTitleStorageGetQuotaAsync](/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetquotaasync.md)
- [Get quota info for a Title Storage service configuration](/services/xbox-services/storage/title-storage/how-to/live-getting-title-storage-quota-info.md)
