[PATCH 10/11] server: add calls to get/set menu item info

Robert Shearman rob at codeweavers.com
Fri Jun 30 12:55:51 CDT 2006

Thomas Kho wrote:

> On 6/30/06, Robert Shearman <rob at codeweavers.com> wrote:
>> Thomas, can you regenerate this patch using "void *" for bmpitem (or
>> perhaps add a new gdi_handle_t type)?
> I'll add the gdi_handle_t type and resubmit two patches (I caught
> another use in the menu struct).

As others have said, GDI objects are not shared between processes. GDI 
objects are DCs, regions, bitmaps, palettes, fonts, and brushes. I 
assumed that they were shared, because icons are shared, but they are a 
user32 object.

You'll have to write a test to see whether Windows allows you to 
retrieve and use the bitmap for a menu from another process.

Rob Shearman

More information about the wine-devel mailing list