XErrorSetCallback
Specifies the callback that is called when an error occurs in the gaming OS or gaming runtime.Syntax
Parameters
callback _In_Type: XErrorCallback* Pointer to the game-defined callback to call. Passing in
nullptr clears the callback.
context _In_Type: void* Context pointer for the callback.
Return value
Type: voidRemarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
Requirements
Header: XError.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XError membersXErrorCallback
