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

# XblLeaderboardGetLeaderboardResultSize

> XblLeaderboardGetLeaderboardResultSize

# XblLeaderboardGetLeaderboardResultSize

取得 XblLeaderboardGetLeaderboardAsync 呼叫的結果大小。

## 語法

```cpp theme={null}
HRESULT XblLeaderboardGetLeaderboardResultSize(  
         XAsyncBlock* async,  
         size_t* resultSizeInBytes  
)  
```

### 參數

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

此作業的 AsyncBlock。

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

儲存使用者統計資料結果所需的大小 (以位元組為單位)。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 需求

**標頭：** leaderboard\_c.h

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

## 另請參閱

[leaderboard\_c](/zh-TW/reference/live/xsapi-c/leaderboard_c/leaderboard_c_members)


## Related topics

- [XblLeaderboardGetLeaderboardResultSize](/es/reference/live/xsapi-c/leaderboard_c/functions/xblleaderboardgetleaderboardresultsize.md)
- [Leaderboards](/build/steam-porting-guide/features/steam-leaderboards.md)
- [XblLeaderboardGetLeaderboardResult](/reference/live/xsapi-c/leaderboard_c/functions/xblleaderboardgetleaderboardresult.md)
