ole: Change the Apartment Model field to a boolean.
authorRobert Shearman <rob@codeweavers.com>
Mon, 20 Feb 2006 10:15:57 +0000 (11:15 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 20 Feb 2006 10:15:57 +0000 (11:15 +0100)
commita37a5014a2f03f4220277aa984490e88a3ea07b2
tree1f6e8b2b74406f5389801d0bfd5f81ed628cfce9
parent021a125dc36d22d3b597121d21f4b43e2ad24ccb
ole: Change the Apartment Model field to a boolean.
Change the apartment model field to a boolean that just specifies
whether the apartment is multi-threaded or not and fix up all the
places where this is used.
Fixes a bug where we would return an error if the previous apartment
model passed into CoInitializeEx matches the new apartment model, but
additional optimisation flags are specified.
dlls/ole32/compobj.c
dlls/ole32/compobj_private.h
dlls/ole32/rpc.c