Subject: Re: bug#14794: 24.3.50; `w32-register-hot-key' does not work on Windows 7 64-bit

From: Eli Zaretskii <[email-masked]>
Date: Fri, 12 Jul 2013 11:55:42 +0300

> Date: Fri, 12 Jul 2013 10:20:53 +0200
> From: martin rudalics <[email-masked]>
> CC: Drew Adams <[email-masked]>, [email-masked]
> 
>  From what I read on such systems an application that does not have
> registered a key itself is allowed to unregister it only if it is
> certified in some way and resides in Program Files.

It's much worse: to unregister a key, you must know its ID (the 2nd
argument to the function).  And how can you that, unless you have
access to the sources of the program that registered the hot key in
the first place?

Moreover, RegisterHotKey can be used so that the hot key is registered
for a specific thread, in which case only that thread can unregister
it.