commit | 1256d28554ec32351ca8cceb1bfd7dbe9dfc055d | [log] [tgz] |
---|---|---|
author | Fumitoshi Ukai <ukai@google.com> | Thu Dec 17 15:36:40 2015 +0900 |
committer | Fumitoshi Ukai <ukai@google.com> | Thu Dec 17 15:36:40 2015 +0900 |
tree | 3dc4dcd2ef0bee7dfc5af53a4b7641f22924e85a | |
parent | 03123011437bd8754a7c5525971eebdb9c2968db [diff] |
win: FAILED macro can't be used with HANDLE. FAILED macro is for HRESULT, not for HANDLE. FindFirstFile returns INVALID_HANDLE_VALUE when error or not found. https://msdn.microsoft.com/library/windows/desktop/aa364418(v=vs.85).aspx fixes #79