I've updated wine from 1.0.1 to 1.1.36, and CoMarshalInterThreadInterfaceInStream is working alright now. Thank you.