C# Class GlobalHotKey.Internal.WinApi

Contains imported Win32 API functions, constants and helper methods.
Show file Open project: kirmir/GlobalHotKey

Public Properties

Property Type Description
WmHotKey int

Public Methods

Method Description
RegisterHotKey ( IntPtr handle, int id, Key key, ModifierKeys modifiers ) : bool

Registers a system-wide hot key.

Private Methods

Method Description
RegisterHotKey ( IntPtr handle, int id, uint modifiers, uint virtualCode ) : bool
UnregisterHotKey ( IntPtr handle, int id ) : bool

Method Details

RegisterHotKey() public static method

Registers a system-wide hot key.
public static RegisterHotKey ( IntPtr handle, int id, Key key, ModifierKeys modifiers ) : bool
handle System.IntPtr The handle of the window that will process hot key messages.
id int The hot key ID.
key Key The key.
modifiers ModifierKeys The key modifiers.
return bool

Property Details

WmHotKey public static property

The message code posted when the user presses a hot key.
public static int WmHotKey
return int