XGameActivationCallback
A callback an application defines for activation events.Syntax
Parameters
context _In_opt_Type: void* The context passed to XGameActivationRegisterForEvent. activationInfo _In_
Type: XGameActivationInfo* A pointer to an XGameActivationInfo structure that contains the activation information. The
type field indicates the kind of activation, and the corresponding union field contains the relevant data.
Return value
Type: voidRemarks
To register a callback for activation events, call XGameActivationRegisterForEvent. The function uses a pointer to an XGameActivationCallback as an argument. To unregister a callback for activation events, call XGameActivationUnregisterForEvent. The callback receives an XGameActivationInfo structure. Check thetype field to determine the kind of activation and handle each type appropriately.
This callback replaces both
XGameProtocolActivationCallback and XGameInviteEventCallback. See XGameActivation for migration guidance.