This PR fixes memory alignment for the structs passed to both GetFileInformationByHandleEx and SetFileInformationByHandle.
Includes a direct test for memory alignment. (Also makes sure it has the right amount of padding, since it's convenient to check this in the test too.)
This PR fixes memory alignment for the structs passed to both
GetFileInformationByHandleEx
andSetFileInformationByHandle
.Includes a direct test for memory alignment. (Also makes sure it has the right amount of padding, since it's convenient to check this in the test too.)