Skip to main content

XGameProtocolActivationCallbackXGameProtocol (deprecated)

This API is now deprecated. Use XGameActivationCallback instead.
A callback an application defines for protocol activation events.

Syntax

Parameters

context   _In_opt_
Type: void*
The context we pass to XGameProtocolRegisterForActivation. protocolUri   _In_
Type: char*
The URI used to invoke the protocol activation. Games may parse this to determine parameters passed to the game.

Return value

Type: void

Remarks

To register a callback for a game invite event, call XGameProtocolRegisterForActivation. To unregister a callback for a protocol activation, call XGameProtocolUnregisterForEvent.

Requirements

Header: XGameProtocol.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

XGameProtocol members
Last modified on August 20, 2026