Syntax
Parameters
async   _Inout_Type: XAsyncBlock* The XAsyncBlock previously sent to XUserAddByIdWithUiAsync. newUser   _Out_
Type: XUserHandle* Contains a handle to the new user.
Return value
Type: HRESULT HRESULT success or error code. For a list of error codes, see Error Codes.Remarks
For more details on how to use this function, see XUserAddByIdWithUiAsync.Requirements
Header: XUser.h Library: xgameruntime.lib Supported platforms: Windows, Steam Deck, XBOX One family consoles and XBOX Series consolesSee also
XUserXUserCloseHandle
