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

# XblProfileGetUserProfilesResult

> XblProfileGetUserProfilesResult

# XblProfileGetUserProfilesResult

取得已完成之 XblProfileGetUserProfilesAsync 作業的結果。

## 語法

```cpp theme={null}
HRESULT XblProfileGetUserProfilesResult(  
         XAsyncBlock* async,  
         size_t profilesCount,  
         XblUserProfile* profiles  
)  
```

### 參數

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

傳遞給 XblProfileGetUserProfilesAsync 的同一個 AsyncBlock。

*profilesCount*   \_In\_\
類型：size\_t

呼叫端配置之設定檔陣列的大小。請使用 [XblProfileGetUserProfilesResultCount](/zh-TW/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresultcount) 取得所需的數目。

*profiles*   \_Out\_writes\_(profilesCount)\
類型：[XblUserProfile\*](/zh-TW/reference/live/xsapi-c/profile_c/structs/xbluserprofile)

呼叫端配置的陣列，用來傳回使用者設定檔結果。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 需求

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

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

## 另請參閱

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


## Related topics

- [XblUserProfile](/zh-TW/reference/live/xsapi-c/profile_c/structs/xbluserprofile.md)
- [XblProfileGetUserProfilesAsync](/zh-TW/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesasync.md)
- [XblProfileGetUserProfilesResultCount](/zh-TW/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresultcount.md)
- [XblProfileGetUserProfileResult](/zh-TW/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult.md)
- [XblProfileGetUserProfilesForSocialGroupResult](/zh-TW/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupresult.md)
