SHSetAppKeyWndAssoc
Windows Mobile 6.5
A version of this page is also available for
4/8/2010
This function assigns a window to receive a particular hardware button's key-press messages.
This function returns TRUE if it is successful and FALSE if it fails. For more information about a failure, call GetLastError.