http://bugs.winehq.org/show_bug.cgi?id=25108
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2010-11-11 06:57:36 CST --- (In reply to comment #4)
(In reply to comment #2)
Critical sections can be statically initialized instead of calling InitializeCriticalSection(), that's perfectly acceptable.
I would call it undefined behaviour. No one outside of critsection.c should know it's internal configurations.
I'd say that's up to an implementor. Especially since in the case of Wine code the implementor and user of the API is the same "person".
Even Microsoft agrees with me.
That's the documentation for the application programmers, not for the API implementors.