Quantcast
Channel: WishMesh » Windows API
Viewing all articles
Browse latest Browse all 5

Windows API Function SetFileAttributes silently ignores compressed and encrypted attributes

$
0
0
When you call Windows API function SetFileAttributes, it ignores FILE_ATTRIBUTE_COMPRESSED (0×800) and FILE_ATTRIBUTE_ENCRYPTED (0×4000) values passed as parameters. Most likely it is implemented in this way, because you can pass value from GetFileAttributes, FindFirstFile and FindNextFile without modifications to SetFileAttributes. … Continue reading

Viewing all articles
Browse latest Browse all 5

Trending Articles