ole: Change the Apartment Model Field to a Boolean

Robert Shearman rob at codeweavers.com
Sun Feb 19 11:51:31 CST 2006

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         |   23 +++++++++++++++--------
  dlls/ole32/compobj_private.h |    4 ++--
  dlls/ole32/rpc.c             |    4 ++--
  3 files changed, 19 insertions(+), 12 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: a17632a70c578e47854f5c9d77d14f1351faa578.diff
Type: text/x-patch
Size: 4421 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060219/40e16045/a17632a70c578e47854f5c9d77d14f1351faa578.diff

More information about the wine-patches mailing list