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

# XblProfileGetUserProfileResult

> XblProfileGetUserProfileResult

# XblProfileGetUserProfileResult

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

## 語法

```cpp theme={null}
HRESULT XblProfileGetUserProfileResult(  
         XAsyncBlock* async,  
         XblUserProfile* profile  
)  
```

### 參數

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

傳遞給 XblProfileGetUserProfileAsync 的同一個 AsyncBlock。

*profile*   \_Out\_\
類型：[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)
- [XblProfileGetUserProfileAsync](/zh-TW/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileasync.md)
- [在 XSAPI C API 中進行非同步呼叫](/zh-TW/services/xbox-services/fundamentals/xbox-services-api/live-flatc-async-patterns.md)
- [XblProfileGetUserProfilesResult](/zh-TW/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresult.md)
- [XblProfileGetUserProfilesResultCount](/zh-TW/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresultcount.md)
