Fixed some of the issues reported by winapi-check, by adding arguments