http://bugs.winehq.org/show_bug.cgi?id=13289
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-10-04 10:30:52 --- Created an attachment (id=16464) --> (http://bugs.winehq.org/attachment.cgi?id=16464) patch
a user reported trouble with this as well with application http bascavr: //www.mcselec.com/index.php?option=com_docman&task=doc_download&gid=139&Itemid=54
The attached stub is enough to prevent the crash. I saw with google, someone already tried to stub this api , by forwarding it to kernel32.GetCurrentProcess, but from what i've read from msdn, kernel32.GetCurrentProcess and IoGetCurrentProcess are not 100% the same, so maybe this stub is the way to go