> After doing some research I found that it seems to be impossible to > use CreateFile for a file that doesn't have SHARE_READ. I played with > different combinations and with FLAG_BACKUP_SEMANTICS and nothing > helped. However on Windows there's still a possibility to read > attributes: use FindFirstFile. _WIN32_FIND_DATA structure seems to > have all the necessary fields (attributes, file times, size and > full/short filename), and FindFirstFile doesn't care about sharing at > all... So what about GetFileAttributesEx? What are the conditions under which I can successfully invoke it? Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4