> ## 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.

# XGameStreamingGetTouchBundleVersionNameSize

> XGameStreamingGetTouchBundleVersionNameSize

# XGameStreamingGetTouchBundleVersionNameSize

获取存储客户端应用当前使用的触摸适配包版本名称所需的字节数。

## 语法

```cpp theme={null}
size_t XGameStreamingGetTouchBundleVersionNameSize(  
         XGameStreamingClientId client  
)  
```

### 参数

*client*   \_In\_\
类型：XGameStreamingClientId

正在查询的流式处理客户端。

### 返回值

类型：size\_t

指定客户端上当前正在使用的触摸适配包中版本名称的大小（以字节为单位）。

如果触摸适配包中未指定版本名称，则大小将为 0。

## 备注

在使用 [XGameStreamingGetTouchBundleVersion](https://docs.xbox.com/zh-CN/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversion.md) 获取版本名称本身之前，使用 `XGameStreamingGetTouchBundleVersionNameSize` 获取大小。

## 要求

**标头：** XGameStreaming.h

**库：** xgameruntime.lib

**支持的平台**：Windows、XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[XGameStreaming](https://docs.xbox.com/zh-CN/reference/system/xgamestreaming/xgamestreaming_members.md#ClientProperties)\
[XGameStreamingGetTouchBundleVersion](https://docs.xbox.com/zh-CN/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversion.md)


## Related topics

- [XGameStreamingGetTouchBundleVersion](https://docs.xbox.com/zh-CN/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversion.md)
- [XGameStreaming（API 内容）](https://docs.xbox.com/zh-CN/reference/system/xgamestreaming/xgamestreaming_members.md)
- [在 Unity 项目中使用 GDK API 的 C# 包装器](https://docs.xbox.com/zh-CN/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XGameStreamingGetServerLocationNameSize](https://docs.xbox.com/zh-CN/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationnamesize.md)
- [XGameStreamingClientProperty](https://docs.xbox.com/zh-CN/reference/system/xgamestreaming/enums/xgamestreamingclientproperty.md)
