The windows-pr library is a collection of Windows functions and constants pre-defined for you using the windows-api library. It also autogenerates explicit ANSI and Wide character versions of those functions, as well as constants that can be used as methods, e.g. CloseHandle() instead of CloseHandle.call().
Gemfile gem 'windows-pr', '~> 1.1.2'
install gem install windows-pr -v 1.1.2