> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFPlatformSpecificServerAwardSteamAchievementGetResultSize

> 取得儲存 ServerAwardSteamAchievement 呼叫結果所需的位元組大小。

取得儲存 ServerAwardSteamAchievement 呼叫結果所需的位元組大小。

## 語法

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

### 參數

**`async`**   XAsyncBlock\*\
*Inout*

用於非同步作業的 XAsyncBlock。

**`bufferSize`**   size\_t\*\
*output*

結果所需的緩衝區大小（以位元組為單位）。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。如果服務呼叫失敗，結果將為 E\_PF\_PRODUCT\_DISABLED\_FOR\_TITLE、E\_PF\_USERIS\_NOT\_VALID 或任何全域 PlayFab 服務錯誤。如需錯誤處理的詳細資訊，請參閱文件頁面「Handling PlayFab Errors」。

## 需求

**標頭：** PFPlatformSpecific.h

## 另請參閱

[PFPlatformSpecific 成員](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)


## Related topics

- [PFPlatformSpecificServerAwardSteamAchievementAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificserverawardsteamachievementasync.md)
- [服務 C API 概觀 - PFPlatformSpecific.h](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)
- [PFPlatformSpecificServerAwardSteamAchievementGetResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificserverawardsteamachievementgetresult.md)
- [PFPlatformSpecificAwardSteamAchievementResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificawardsteamachievementresult.md)
- [Award Steam Achievement](https://docs.xbox.com/api-reference/platform-specific-methods/award-steam-achievement.md)
