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

# GameInputString (Deprecated)

> GameInputString

> [!WARNING]
>
> **Deprecated.** This structure was removed in GameInput v1 and is not available in the current API.

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](https://docs.xbox.com/reference/input/gameinput/structs/gameinputdeviceinfo.md).

## Version History

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

## See also

[Deprecated GameInput API members](https://docs.xbox.com/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)


## Related topics

- [Deprecated GameInput API members](https://docs.xbox.com/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [IGameInput::FindDeviceFromObject (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_finddevicefromobject.md)
- [IGameInput::FindDeviceFromPlatformHandle (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinput/methods/igameinput_finddevicefromplatformhandle.md)
- [GameInputLocation (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/enums/gameinputlocation.md)
- [GameInputTouchState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md)
