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

# PFLeaderboardsGetLeaderboardForEntitiesGetResultSize

> GetLeaderboardForEntities 呼び出しの結果を格納するために必要なバイト単位のサイズを取得します。

GetLeaderboardForEntities 呼び出しの結果を格納するために必要なバイト単位のサイズを取得します。

## 構文

```cpp theme={null}
HRESULT PFLeaderboardsGetLeaderboardForEntitiesGetResultSize(  
    XAsyncBlock* async,  
    size_t* bufferSize  
)  
```

### パラメーター

**`async`**   XAsyncBlock\*<br />*Inout*

非同期操作用の XAsyncBlock。

**`bufferSize`**   size\_t\*<br />*output*

結果に必要なバッファー サイズ (バイト単位)。

### 戻り値

型: HRESULT

この API 操作の結果コード。サービス呼び出しが失敗した場合、結果は E\_PF\_API\_NOT\_ENABLED\_FOR\_TITLE、E\_PF\_LEADERBOARD\_NOT\_FOUND、E\_PF\_NO\_LEADERBOARD\_FOR\_STATISTIC、E\_PF\_SPECIFIED\_VERSION\_LEADERBOARD\_NOT\_FOUND、E\_PF\_STATISTIC\_NOT\_FOUND、またはグローバル PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

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

## 関連項目

[PFLeaderboards のメンバー](/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members)


## Related topics

- [PFLeaderboardsGetLeaderboardForEntitiesAsync](/ja-jp/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardforentitiesasync.md)
- [Services C API overview - PFLeaderboards.h](/ja-jp/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members.md)
- [PFLeaderboardsGetLeaderboardForEntitiesGetResult](/ja-jp/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardforentitiesgetresult.md)
- [PFLeaderboardsGetFriendLeaderboardForEntityGetResultSize](/ja-jp/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetfriendleaderboardforentitygetresultsize.md)
- [PFLeaderboardsGetLeaderboardAroundEntityGetResultSize](/ja-jp/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardaroundentitygetresultsize.md)
