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

# XblTitleStorageGetQuotaAsync

> XblTitleStorageGetQuotaAsync

# XblTitleStorageGetQuotaAsync

取得指定服務設定和儲存體類型的遊戲儲存體配額資訊。

## 語法

```cpp theme={null}
HRESULT XblTitleStorageGetQuotaAsync(  
         XblContextHandle xboxLiveContext,  
         const char* serviceConfigurationId,  
         XblTitleStorageType storageType,  
         XAsyncBlock* async  
)  
```

### 參數

*xboxLiveContext*   \_In\_\
類型：[XblContextHandle](/zh-TW/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

使用 XblContextCreateHandle 建立的 XBOX Live 內容控制代碼。

*serviceConfigurationId*   \_In\_z\_\
類型：char\*

遊戲的服務設定識別碼 (SCID)。SCID 會區分大小寫，因此請直接從 Partner Center 貼上。

*storageType*   \_In\_\
類型：[XblTitleStorageType](/zh-TW/reference/live/xsapi-c/title_storage_c/enums/xbltitlestoragetype)

要取得配額資訊的儲存體類型。

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

呼叫端配置的 AsyncBlock。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 備註

對於 TrustedPlatform 儲存體類型，要求會針對呼叫使用者的 XBOX 使用者識別碼發出。若要取得結果，請在 AsyncBlock 回呼內或 AsyncBlock 完成之後呼叫 XblTitleStorageGetQuotaResult。

## REST 呼叫

V1 GET trustedplatform/users/xuid({xuid})/scids/{scid}\
V1 GET trustedplatform/users/xuid({xuid})/scids/{scid}\
V1 GET json/users/xuid({xuid})/scids/{scid}\
V1 GET global/scids/{scid}

## 需求

**標頭：** 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](/zh-TW/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetquotaresult.md)
- [取得遊戲儲存空間服務設定的配額資訊](/zh-TW/services/xbox-services/storage/title-storage/how-to/live-getting-title-storage-quota-info.md)
- [XblTitleStorageGetBlobMetadataAsync](/zh-TW/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetblobmetadataasync.md)
- [XblTitleStorageGetBlobMetadataResult](/zh-TW/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetblobmetadataresult.md)
- [XblTitleStorageBlobMetadataResultGetNextAsync](/zh-TW/reference/live/xsapi-c/title_storage_c/functions/xbltitlestorageblobmetadataresultgetnextasync.md)
