H. Verbeet wrote:
On 29/06/06, Thomas Kho <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED](get_menu_item_info)
+ user_handle_t handle;
+ unsigned int pos;
[EMAIL PROTECTED]
+ unsigned int required_size;
+
+ unsigned int type;
+ unsigned int state;
+ unsigned int id;
+ user_handle_t submenu;
+ user_handle_t checkbit;
+ user_handle_t uncheckbit;
+ void* text;
+ unsigned long itemdata;
+ void* typedata;
+ user_handle_t bmpitem;
+
+ rectangle_t rect;
+ unsigned int xTab;
+ dimension_t bmpsize;
+
+ VARARG(text,unicode_str);
[EMAIL PROTECTED]
HBITMAPs aren't technically user handles, and afaik you can't pass GDI
handles between processes like that. At least, not on Windows.
You can pass HBITMAPs between processes on Windows, although you are
correct in saying that they aren't user handles. Of course, passing
bitmap handles between processes on Wine won't work yet.
Thomas, can you regenerate this patch using "void *" for bmpitem (or
perhaps add a new gdi_handle_t type)?
--
Rob Shearman