Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看到我可以在 Windows 消息中发送字符串。 但是如何从已处理的 Windows 消息中读取它们?
您应该使用Marshal.PtrToStringAnsi()或 ( Marshal.PtrToStringUni()/ Marshal.PtrToStringAuto())
Marshal.PtrToStringAnsi()
Marshal.PtrToStringUni()
Marshal.PtrToStringAuto()