Fixed some of the issues reported by winapi-check.

10 files changed