> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputString

> GameInputString

# GameInputString

<Warning>**Deprecated.** This structure was removed in GameInput v1 and is not available in the current API.</Warning>

Represents a string value used for device identification fields in GameInput structures.

## Syntax

```cpp theme={null}
typedef struct GameInputString {
    uint32_t sizeInBytes;
    uint32_t codePointCount;
    const char* data;
} GameInputString;
```

## Members

**sizeInBytes**\
Type: uint32\_t

The size of the string data in bytes, not including a null terminator.

**codePointCount**\
Type: uint32\_t

The number of Unicode code points in the string.

**data**\
Type: const char\*

Pointer to the UTF-8 encoded string data. Not necessarily null-terminated.

## Remarks

This type was used for string fields in the v0 `GameInputDeviceInfo` structure (such as `displayName`, `deviceFamily`, and `hardwareVersion`). It was removed in v1 when those string fields were removed from [GameInputDeviceInfo](/reference/input/gameinput/structs/gameinputdeviceinfo).

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v1**  | Removed.    |
| **v0**  | Introduced. |

## See also

[Deprecated GameInput API members](/reference/input/gameinput/deprecated/gameinput_deprecated_members)


## Related topics

- [GameInputKeyboardInfo](/reference/input/gameinput/structs/gameinputkeyboardinfo.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [Deprecated GameInput API members](/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [IGameInput::FindDeviceFromPlatformString](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_finddevicefromplatformstring.md)
- [IGameInput](/reference/input/gameinput/interfaces/igameinput/igameinput.md)
