Is UnregisterHotKey () important to clean up?

A simple question, I think, after I registered several system hotkeys with RegisterHotKey (), do I need to end up calling UnregisterHotKey () to clear them, or can I just exit the application without worrying about it?

MSDN does not seem to say that either I misunderstand it. I understand that I just have to go and call UnregisterHotKey to be safe, but if someone knows otherwise, it would be useful to just know for the sake of knowledge.

Thank!

+3
source share
1 answer

MSDN , , , . MSDN , . , RegisterHotKey, UnRegisterHotKey, , , , Windows. , .

+4

Source: https://habr.com/ru/post/1724905/


All Articles