This function determines if a navigational control is mapped to an application.
Use this function to add additional features to a mapped navigation control. For example, use SHGetAppKeyAssoc to get the virtual key code for the program button mapped to your application. Then, use a timer and GetAsyncKeyState to determine if the program button is held down for a specified duration. If the button is held down, a new document is created.
This function relies on the data stored in HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys.