We may make fun of Microsoft's BEST ENTERPRISE SOFTWARE PRACTICES, but seriously, what were they smoking* when they came up with the NULL, NULL, NULL nonsense?
* No, not their anuses, before anyone suggests that.
>>16
Not like >>15 they shouldn't have. The Windows API is bloated enough as it is without having to duplicate every function ten times with a different number of arguments.
I already wrote an explanation to how this could be solved with keyword/optional/rest arguments that CL has, but since C is not CL, one will have to either redesign the API or just deal with the NULL's for options which are not present.