XUserGetGamertag
Retrieves the gamertag for a specific user.Syntax
Parameters
user _In_Type: XUserHandle A handle to the user to retrieve the gamertag for. gamertagComponent _In_
Type: XUserGamertagComponent Type of gamertag to retrieve. gamertagSize _In_
Type: size_t Size in bytes of the buffer in the gamertag parameter. gamertag _Out_writes_bytes_to_(gamertagSize,gamertagUsed)
Type: char Contains the gamertag for a specific user. gamertagUsed _Out_opt_
Type: size_t* Contains the amount of the buffer for holding the gamertag.
Return value
Type: HRESULT HRESULT success or error code.
For a list of error codes, see Error Codes.
