[1/7] server: Implement RegisterHotKey/UnregisterHotKey.

Alexandre Julliard julliard at winehq.org
Fri Jun 17 05:32:34 CDT 2011


"Vincent Povirk" <vincent at codeweavers.com> writes:

> @@ -2632,6 +2632,29 @@ enum coords_relative
>  #define SET_USER_OBJECT_FLAGS 1
>  
>  
> +/* Register a hotkey */
> + at REQ(register_hotkey)
> +    user_handle_t  window;        /* handle to the window */
> +    int            id;            /* hotkey identifier */
> +    int            flags;         /* modifier keys */
> +    int            vkey;          /* virtual key code */
> + at REPLY
> +    int            replaced;      /* did we replace an existing hotkey? */
> +    int            flags;         /* flags of replaced hotkey */
> +    int            vkey;          /* virtual key code of replaced hotkey */
> + at END

The docs say that hotkeys are no longer replaced in recent Windows
versions. It would be a good idea to have a test for that.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list