Fixed issues reported by winapi_check.

5 files changed