更新时间:2023-12-03 22:57:10
错误非常明显,并告诉你该怎么做:要么将定义更改为Int32,要么将值转换为UInt32:
The error is pretty explicit, and does tell you what to do: either change the definition to Int32, or cast the values to UInt32:
lastInputInfo.cbSize = (UInt32) Marshal.SizeOf(y);