语法
参数
version _Out_类型:GameInputVersion* 接收设备的固件版本。
返回值
类型:void备注
并非所有设备都会报告固件版本。如果设备未报告固件版本,则 version 的所有成员都设置为 0。 固件版本在设备连接时读取,并且在设备对象的生存期内不会更改。 在 GameInput v3 及更早版本中,此信息可从 IGameInputDevice::GetDeviceInfo 返回的 GameInputDeviceInfo 结构的firmwareVersion 成员中获取。
要求
头文件: GameInput.h 库: gameinput.lib 支持的平台: Windows、XBOX One 系列主机和 XBOX Series 主机另请参阅
GameInput 概述IGameInputDevice
GameInputVersion
IGameInputDevice::GetHardwareVersion
