Fixed some issues found by winapi_check.

1 file changed