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

H. Verbeet hverbeet at gmail.com
Thu Jun 29 16:09:20 CDT 2006


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



More information about the wine-devel mailing list