WINDOWS - replaced magic numbers by constants