Am 30.06.2015 um 15:17 schrieb Alex Ionescu:
Well, you may at least want to validate that your dwOffsets are within cbSize?
I had my tests under Windows and I was able to put all kinds of bogus values into cbSize, cbPerElementSize and cbStructureSize, without any visible effect on the function output. So I wanted to leave it that way for compatibility.
Cheers,
Colin