3 ms·
You can and should use sizeof in your code. The Windows code needs to know the size so it knows what version of the header the code was compiled against. There
by Ididntdothis 7y ago
You can and should use sizeof in your code. The Windows code needs to know the size so it knows what version of the header the code was compiled against. There are probably other ways to do this but sizeof is not bad. That’s how they can get backwards compatibility over decades.