22.2.5 RegisterKeyNotify() Implementation

This function registers a notification function that is called when a specified keystroke is pressed by the user. This function must create a unique handle value that is returned, so a previous key registration can be unregistered using UnregisterKeyNotify(). The UEFI Driver is responsible for generating unique handle values so no two active registrations ever use the same handle value.