Hi Krzysztof,
thanks to your work on riched20.dll, eMule (http://www.emule-project.net) runs on wine out of the box (Some display glitches in riched, but fully usable otherwise). However, your last patch added an assert statement, which is violated by emule. I did not try to find the real problem, but removing the assert lets emule work again.
Bye,