When translating the Windows API (including data types) into P/Invoke, should I replace DWORD with int
or uint
?
It's normally unsigned, but I see people using int
everywhere instead (is it just because of the CLS warning? even the .NET Framework itself does this), and so I'm never really sure which one is the correct one to use.