> ## 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-CN/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)


## Related topics

- [PFPlatformSpecificServerAwardSteamAchievementAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificserverawardsteamachievementasync.md)
- [Services C API 概览 - PFPlatformSpecific.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplatformspecific/pfplatformspecific_members.md)
- [PFPlatformSpecificServerAwardSteamAchievementGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplatformspecific/functions/pfplatformspecificserverawardsteamachievementgetresult.md)
- [PFPlatformSpecificAwardSteamAchievementResult](https://docs.xbox.com/zh-CN/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)
