Share via


XGameUiSetTextEntryUiResponse

Sets the resulting text length and text to be returned by XGameUiShowTextEntryAsync

Syntax

STDAPI  XGameUiSetTextEntryUiResponse(
     XGameUiCallbackHandle callbackHandle,
     const char* response
) noexcept;

Parameters

callbackHandle
Type: XGameUiCallbackHandle

The handle for this callback invocation.

response
Type: const char*

The UTF-8 string to be returned by XGameUiShowTextEntryResult for the corresponding invocation of XGameUiShowTextEntryAsync. The length of the string, in characters, will be returned by XGameUiShowTextEntryResultSize.

Return value

Type: STDAPI

HRESULT success or error code of the call.

Requirements

Header: XGameUi.h

Supported platforms: Supported only on Steam Deck

See also

XGameUI

XGameUiShowTextEntryAsync