When translating the Windows API (including data types) into P/Invoke, should I replace DWORD with int or uint?
int
uint
It\'s normally unsigned, but I
The CLS compliance warning applies only if the P/Invoke method is visible outside the assembly, which generally means the call is public. If the method is not externally visible, then it is acceptable to use uint.