Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the UI callbacks defined by the developer.
Syntax
STDAPI XGameUiSetUiCallbacks(
const XGameUiUiCallbacks* callbacks,
bool useSystemUiIfAvailable
) noexcept;
Parameters
callbacks
Type: const XGameUiUiCallbacks*
Pointer to the struct containing the handlers and contexts for each UI the developer would like to handle.
useSystemUiIfAvailable
Type: bool
Whether system UI should be used instead of developer callbacks if available.
Return value
Type: STDAPI
Remarks
All callbacks are set at the same time and override whatever ones may have been previously set.
Requirements
Header: XGameUi.h
Supported platforms: Supported only on Steam Deck