Should DWORD map to int or uint?
Well according to the MSDN DWORD is an unsigned integer with a range of 0 to 4294967295. So ideally you should replace it with uint rather than int. However, as you have spotted uint is non-CLS compliant so if your method is publicly visible you should use int and do the conversion. The corollary to … Read more