Partage via


XblTitleStorageGetQuotaAsync

Gets title storage quota information for the specified service configuration and storage type.

Syntax

HRESULT XblTitleStorageGetQuotaAsync(  
         XblContextHandle xboxLiveContext,  
         const char* serviceConfigurationId,  
         XblTitleStorageType storageType,  
         XAsyncBlock* async  
)  

Parameters

xboxLiveContext   _In_
Type: XblContextHandle

An xbox live context handle created with XblContextCreateHandle.

serviceConfigurationId   _In_z_
Type: char*

The Service Configuration ID (SCID) for the title. The SCID is considered case sensitive so paste it directly from the Partner Center.

storageType   _In_
Type: XblTitleStorageType

The storage type to get quota information for.

async   _In_
Type: XAsyncBlock*

Caller allocated AsyncBlock.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

For TrustedPlatform storage types, the request will be made for the calling user's Xbox user Id. To get the result, call XblTitleStorageGetQuotaResult inside the AsyncBlock callback or after the AsyncBlock is complete.

REST Call

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}

Requirements

Header: title_storage_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

title_storage_c