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.
You're probably looking for ushort
for WORD and uint
for DWORD.