问题
I'm trying to access an unmanaged library and am lucky to have access to a comprehensive guide to the API.
Unfortunately, I've no idea what the C# equivalent of C++'s WORD type is. Similarly, I've no idea what DWORD would be.
回答1:
You're probably looking for ushort
for WORD and uint
for DWORD.
来源:https://stackoverflow.com/questions/5490428/whats-the-equivalent-of-word-in-c