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

# XblProfileGetUserProfilesResultCount

> XblProfileGetUserProfilesResultCount

# XblProfileGetUserProfilesResultCount

获取已完成的 XblProfileGetUserProfilesAsync 操作返回的配置文件数量。

## 语法

```cpp theme={null}
HRESULT XblProfileGetUserProfilesResultCount(  
         XAsyncBlock* async,  
         size_t* profileCount  
)  
```

### 参数

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

传递给 XblProfileGetUserProfilesAsync 的同一个 AsyncBlock。

*profileCount*   \_Out\_\
类型：size\_t\*

回传配置文件的数量。

### 返回值

类型：HRESULT

此 API 操作的 HRESULT 返回代码。

## 要求

**头文件：** profile\_c.h

**库：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

[profile\_c](/reference/live/xsapi-c/profile_c/profile_c_members)


## Related topics

- [XblProfileGetUserProfilesResult](/zh-CN/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresult.md)
- [XblProfileGetUserProfilesAsync](/zh-CN/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesasync.md)
- [XblProfileGetUserProfilesForSocialGroupResultCount](/zh-CN/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupresultcount.md)
- [XblProfileGetUserProfilesForSocialGroupResult](/zh-CN/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupresult.md)
- [XblProfileGetUserProfilesForSocialGroupAsync](/zh-CN/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupasync.md)
