https://bugs.winehq.org/show_bug.cgi?id=29852
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Dmitry Timoshkov from comment #14)
Probably it's worth to write some tests first.
Actually the tests already exist, they start at: http://source.winehq.org/source/dlls/msvfw32/tests/msvfw.c#0100