Skip to main content

XGameUiTextEntryClose

Closes the virtual keyboard and frees up the corresponding resources.

Syntax

Parameters

handle   _In_
Type: XGameUiTextEntryHandle
Handle to the currently open virtual keyboard.

Return value

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

Remarks

Games should call XGameUiTextEntryClose when they are done with collecting input or in response to the keyboard having been dismissed.

Requirements

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

See also

XGameUI
XGameUiTextEntryOpen
Last modified on August 20, 2026