XblProfileGetUserProfilesResult

获取已完成的 XblProfileGetUserProfilesAsync 操作的结果。

语法

HRESULT XblProfileGetUserProfilesResult(  
         XAsyncBlock* async,  
         size_t profilesCount,  
         XblUserProfile* profiles  
)  

参数

async _In_
类型:XAsyncBlock*

传递到 XblProfileGetUserProfilesAsync 的同一个 AsyncBlock。

profilesCount _In_
类型:size_t

调用方分配的档案数组的大小。 使用 XblProfileGetUserProfilesResultCount 以获得所需要的计数。

profiles _Out_writes_(profilesCount)
类型:XblUserProfile*

调用方分配的数组,可传回用户档案结果。

返回值

类型:HRESULT

此 API 操作的 HRESULT 返回代码。

要求

头文件:profile_c.h

图书馆: Microsoft.Xbox.Services.14x.GDK.C.lib

另请参阅

profile_c