XblSocialSubmitReputationFeedbackAsync

Submits reputation feedback on the specified user.

Syntax

HRESULT XblSocialSubmitReputationFeedbackAsync(  
         XblContextHandle xboxLiveContext,  
         uint64_t xboxUserId,  
         XblReputationFeedbackType reputationFeedbackType,  
         const XblMultiplayerSessionReference* sessionReference,  
         const char* reasonMessage,  
         const char* evidenceResourceId,  
         XAsyncBlock* async  
)  

Parameters

xboxLiveContext   _In_
Type: XblContextHandle

An xbox live context handle created with XblContextCreateHandle.

xboxUserId   _In_
Type: uint64_t

The Xbox User ID of the user that reputation feedback is being submitted on.

reputationFeedbackType   _In_
Type: XblReputationFeedbackType

The reputation feedback type being submitted.

sessionReference   _In_opt_
Type: XblMultiplayerSessionReference*

Multiplayer session reference describing the MPSD session this feedback relates to. (Optional)

reasonMessage   _In_z_
Type: char*

User supplied text in UTF-8 encoded added to explain the reason for the feedback. (Optional)

evidenceResourceId   _In_opt_z_
Type: char*

The UTF-8 encoded id of a resource that can be used as evidence for the feedback. Example: the Id of a video file. (Optional)

async   _In_
Type: XAsyncBlock*

Caller allocated AsyncBlock.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Make sure to call XAsyncGetStatus to get the result.

REST Call

V100 POST /users/xuid({xuid})/feedback

Requirements

Header: social_c.h

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

See also

social_c