Hi,
I've sent it to wine-devel so I can get some comments on it. This patch will basically store the apartment model in a structure in the TEB like Windows. This will allow CoInitializeEx to return the right value, which in itself has got some apps working better on my machine. If this patch is ok, then the next question must be: what functions/interfaces depend on the apartment model?
ChangeLog: - CoInitializeEx should store apartment model separately for each thread
Rob