We're decompressing files on demand and are using the filter mechanism to determine if a file is of size 0. If it is, we kick off the decompression of this file.

This process works correctly for calls that use GetFileSizeEx, which gets picked up by the GetSizes callback in our filter as expected.

However, we have found that calls that use GetFileAttributesEx are not being picked up by the GetSizes callback in our filter. This is even though the WIN32_FILE_ATTRIBUTE_DATA struct contains a file size field which is set to 0.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.