99.8% of rawData[917504] consists of 0x00 bytes. You could treat the disk image as a separate file—which would significantly reduce the size of those 70,000 lines—or use C99 designated initializers.
Slowing down WD's path resolution might achieve a 100% success rate, as the cause of failure is that the ReadDirectoryChangesW notifications arrive too slowly.
99.8% of
rawData[917504]consists of0x00bytes. You could treat the disk image as a separate file—which would significantly reduce the size of those 70,000 lines—or use C99 designated initializers.Slowing down WD's path resolution might achieve a 100% success rate, as the cause of failure is that the
ReadDirectoryChangesWnotifications arrive too slowly.