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

Gets the number of profiles from a completed get XblProfileGetUserProfilesAsync operation.

## Syntax

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

### Parameters

*async*   \_In\_\
Type: XAsyncBlock\*

The same AsyncBlock that was passed to XblProfileGetUserProfilesAsync.

*profileCount*   \_Out\_\
Type: size\_t\*

Passes back the number of profiles.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** profile\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

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


## Related topics

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