Fix Windows build
Replaced DWORDS with uints- will be replaced with enums soon anyway.