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

# XSystemGetRuntimeInfo

> XSystemGetRuntimeInfo

# XSystemGetRuntimeInfo

提供有关游戏运行时服务的当前版本和可用版本的信息。

## 语法

```cpp theme={null}
XSystemRuntimeInfo XSystemGetRuntimeInfo(  
);
```

### 参数

无。

### 返回值

类型：[XSystemRuntimeInfo](/reference/system/xsystem/structs/xsystemruntimeinfo)

返回一个 [XSystemRuntimeInfo](/reference/system/xsystem/structs/xsystemruntimeinfo) 结构，其中包含有关游戏运行时服务的信息。

## 备注

可以在调用 [XGameRuntimeInitialize](/reference/system/xgameruntimeinit/functions/xgameruntimeinitialize) 之前调用此函数。

## 要求

**头文件：** XSystem.h

**库：** xgameruntime.lib

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

## 另请参阅

[XSystem](/reference/system/xsystem/xsystem_members)\
[XSystemRuntimeInfo](/reference/system/xsystem/structs/xsystemruntimeinfo)


## Related topics

- [XSystemRuntimeInfo](/zh-CN/reference/system/xsystem/structs/xsystemruntimeinfo.md)
- [XSystem](/zh-CN/reference/system/xsystem/xsystem_members.md)
- [面向 GDK 的 Unity C# API 包装器](/zh-CN/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XSystemGetAnalyticsInfo](/zh-CN/reference/system/xsystem/functions/xsystemgetanalyticsinfo.md)
- [XVersion](/zh-CN/reference/system/xgameruntimetypes/structs/xversion.md)
