You can gain control of the hardware keys by using PInvoke and RegisterHotKey.
Then you can use the MessageWindow class to provide a Window handle that can be
notified of WM_HOTKEY messages and handle them (or ignore them) as you wish.
Here's a sample illustrating using MessageWindow in the QuickStart tutorials
here: http://samples.gotdotnet.com/quickstart/CompactFramework/