On 29/06/06, Thomas Kho tkho@ucla.edu wrote:
+@REQ(get_menu_item_info)
- user_handle_t handle;
- unsigned int pos;
+@REPLY
- 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);
+@END
HBITMAPs aren't technically user handles, and afaik you can't pass GDI handles between processes like that. At least, not on Windows.