Skip to main content

XSystemHandleCallback

Callback that is invoked when a GRTS handle is created or destroyed.

Syntax

Parameters

handle    _In_
Type: XSystemHandle
The XSystemHandle whose state is changing. Callers will need to statically cast this to the correct GRTS handle type based on what is passed in the type parameter. type    _In_
Type: XSystemHandleType
The GRTS type of the handle getting created or destroyed. reason    _In_
Type: XSystemHandleCallbackReason
Indicates if the handle is getting created or destroyed. context    _In_
Type: void *
User define context to be passed to the callback.

Remarks

This callback is set when the game calls XSystemHandleTrack.

Requirements

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

See also

XSystem members XSystemHandleTrack
Last modified on August 20, 2026