3 ms·
The problem is structs and function signatures of standard APIs can have differences for each os/version combination.
by marwis 3y ago
The problem is structs and function signatures of standard APIs can have differences for each os/version combination.
- grishka 3y agoThen you have to take care of making sure you call the right thing. But I suppose this doesn't happen very often because OS APIs usually maintain backwards compatibility. Also a well-designed API would take complex structs by pointer, thus allowing the addition of fields at the end without breaking the ABI.