XUserAddByIdWithUiResult
检索 XUserAddByIdWithUiAysnc 创建的用户的句柄。此函数只应在响应游戏邀请时使用。Syntax
Parameters
async _Inout_类型:XAsyncBlock* 先前发送到 XUserAddByIdWithUiAysnc 的 XAsyncBlock。 newUser _Out_
类型:XUserHandle* 包含新用户的句柄。
Return value
类型:HRESULT HRESULT 成功或错误代码。 有关错误代码列表,请参阅错误代码。Remarks
有关如何使用此函数的更多详细信息,请参阅 XUserAddByIdWithUiAysnc。Requirements
头文件: XUser.h 库: xgameruntime.lib 受支持的平台: Windows、Steam Deck、XBOX One 系列主机和 XBOX Series 主机See also
XUserXUserCloseHandle
