Skip to main content

XGameUiTextEntryGetExtents

Gets the screen extents of the virtual keyboard so that callers know where it is safe to render text.

Syntax

Parameters

handle   _In_
Type: XGameUiTextEntryHandle
Handle to the currently open virtual keyboard. handle   _Out_
Type: XGameUiTextEntryExtents
Describe the screen extents of the virtual keyboard.

Return value

Type: HRESULT HRESULT success or error code. For a list of error codes, see Error Codes.

Remarks

This function will always return the extents of the large accessibility keyboard if the full keyboard is visible. Otherwise, it will return the extents of the candidate list.

Requirements

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

See also

XGameUI
Last modified on August 20, 2026