Partage via


XblMultiplayerActivityInviteHandler

Event handler for multiplayer activity invites.

Syntax

void XblMultiplayerActivityInviteHandler(  
         const XblMultiplayerActivityInviteData* data,  
         void* context  
)  

Parameters

data   _In_
Type: XblMultiplayerActivityInviteData*

Data needed by the invitee to respond to a game invite.

context   _In_opt_
Type: void*

Client context provided when the handler was added.

Return value

Type: void

Remarks

The lifetime of the XblMultiplayerActivityInviteData object is limited to the callback.

For more information about multiplayer activities, see Activities.

Requirements

Header: multiplayer_activity_c.h

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

See also

multiplayer_activity_c